ServerGroup.Parent Property

Gets the parent of the ServerGroup object.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As ServerGroupParent 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

ServerGroup Class

Microsoft.SqlServer.Management.RegisteredServers Namespace