Parent 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Database
    Get
'用途
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

屬性值

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

備註

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

範例

設定屬性