Partager via


Parent propriété

Gets the Database object that is the parent of the DatabaseRoleCollection object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Parent As Database
    Get
'Utilisation
Dim instance As DatabaseRoleCollection
Dim value As Database

value = instance.Parent
public Database Parent { get; }
public:
property Database^ Parent {
    Database^ get ();
}
member Parent : Database
function get Parent () : Database

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .Database
A Database object that is the parent of the DatabaseRoleCollection object.