Condividi tramite


Proprietà Parent

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

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

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Database
    Get
'Utilizzo
Dim instance As DatabaseActiveDirectory
Dim value As Database

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Database Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Database^ Parent {
    Database^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Database
function get Parent () : Database

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Database
A Database object value that is the parent of the DatabaseActiveDirectory object.

Osservazioni

This property will appear with the Active Directory registration of the referenced database.