User.EnumOwnedObjects-Methode
Enumerates a list of object that the database user owns.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumOwnedObjects As Urn()
'Usage
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[]
Rückgabewert
Typ: array<Microsoft.SqlServer.Management.Sdk.Sfc.Urn[]
A Urn object array value that specifies the objects owned by the database user.
Hinweise
Note SQL Server database objects are owned by the schema.
Beispiele
Verwalten von Benutzern, Rollen und Anmeldungen
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace