Condividi tramite


Metodo EnumOwnedObjects

Enumerates a list of object that the database user owns.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumOwnedObjects As Urn()
'Utilizzo
Dim instance As User
Dim returnValue As Urn()

returnValue = instance.EnumOwnedObjects()
public Urn[] EnumOwnedObjects()
public:
array<Urn^>^ EnumOwnedObjects()
member EnumOwnedObjects : unit -> Urn[] 
public function EnumOwnedObjects() : Urn[]

Valore restituito

Tipo: array<Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn> [] () [] []
A Urn object array value that specifies the objects owned by the database user.

Osservazioni

Note   SQL Server database objects are owned by the schema.