DatabaseActiveDirectory.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.

示例

设置属性

请参阅

参考

DatabaseActiveDirectory 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)