RegisteredServerCollection.Parent Property

Gets the ServerGroup object that is the parent of the RegisteredServerCollection object.

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

Syntax

'Declaration
Public ReadOnly Property Parent As ServerGroup
    Get
'Usage
Dim instance As RegisteredServerCollection
Dim value As ServerGroup

value = instance.Parent
public ServerGroup Parent { get; }
public:
property ServerGroup^ Parent {
    ServerGroup^ get ();
}
member Parent : ServerGroup
function get Parent () : ServerGroup

Property Value

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