Méthode User.EnumOwnedObjects
Enumerates a list of object that the database user owns.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function EnumOwnedObjects As Urn()
'Utilisation
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[]
Valeur de retour
Type : array<Microsoft.SqlServer.Management.Sdk.Sfc.Urn[]
A Urn object array value that specifies the objects owned by the database user.
Notes
Note SQL Server database objects are owned by the schema.
Exemples
Gestion des utilisateurs, rôles et connexions
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo