Parent 属性

Gets the parent of the ServerGroup object.

命名空间:  Microsoft.SqlServer.Management.RegisteredServers
程序集:  Microsoft.SqlServer.Management.RegisteredServers(在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

语法

声明
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As ServerGroupParent
    Get
    Set
用法
Dim instance As ServerGroup
Dim value As ServerGroupParent

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)]
public ServerGroupParent Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectCardinality::One)]
public:
property ServerGroupParent^ Parent {
    ServerGroupParent^ get ();
    void set (ServerGroupParent^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)>]
member Parent : ServerGroupParent with get, set
function get Parent () : ServerGroupParent
function set Parent (value : ServerGroupParent)

属性值

类型:Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroupParent
A ServerGroup value that specifies the parent of the referenced object.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。