Compartilhar via


Método EnumOwnedObjects

Enumerates a list of object that the database user owns.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function EnumOwnedObjects As Urn()
'Uso
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[]

Valor de retorno

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

Comentários

Note   SQL Server database objects are owned by the schema.