Partilhar via


Propriedade do RDL DatabaseActiveDirectory.Parent

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

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Database 
    Get
'Uso
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

Valor da propriedade

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

Comentários

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

Exemplos

Definindo propriedades

Consulte também

Referência

DatabaseActiveDirectory Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)