I am trying to generate a list of multiple properties from multiple databases (looking for the same properties in all). I have been trying to use DATABASEPROPERTYEX, but it is very limited on which properties I can get values for, and some of the properties it does allow are returning NULL.
I'm getting values for name, version, useraccess, isautoshrink, recovery and status. Size, owner, SpaceAvailable, MaxSizeInBytes all return NULL. Is there better way?
Cheers