Share via


ServerGroup.Parent Property

Gets or sets the ServerGroup object that is the parent of the referenced ServerGroup object.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServerGroup 
    Get 
    Set
'Usage
Dim instance As ServerGroup 
Dim value As ServerGroup 

value = instance.Parent

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
A ServerGroup object that is the parent of the referenced ServerGroup object.

See Also

Reference

ServerGroup Class

Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

NIB Manage Registered Servers

sp_ActiveDirectory_SCP (Transact-SQL)