Dim OwnedObjects () as URN
OwnedObjects = smoUser.EnumOwnedObjects
Why OwnedObjects is always empty?
If I use DMO as follows then the list is fine:
Dim objList As SQLDMO.SQLObjectList
Set objList = dmoUser.ListOwnedObjects(SQLDMOObj_AllDatabaseObjects)
Please help.
Joginder Nahil
http://www.starprint2000.com