共用方式為


ServerActiveDirectory.Parent 屬性

Gets the Server object that is the parent of the ServerActiveDirectory object.

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Server 
    Get
'用途
Dim instance As ServerActiveDirectory 
Dim value As Server 

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Server
A Server object that is the parent of the ServerActiveDirectory object.

範例

設定屬性

請參閱

參考

ServerActiveDirectory 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

Active Directory Stored Procedures (Transact-SQL)