ServerGroupBase.ServerGroups Property
Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group.
Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public ReadOnly Property ServerGroups As ServerGroupCollection
Get
'Usage
Dim instance As ServerGroupBase
Dim value As ServerGroupCollection
value = instance.ServerGroups
public ServerGroupCollection ServerGroups { get; }
public:
property ServerGroupCollection^ ServerGroups {
ServerGroupCollection^ get ();
}
member ServerGroups : ServerGroupCollection
function get ServerGroups () : ServerGroupCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupCollection
A ServerGroupCollection object that represents all the server groups that are included in the parent server group.
Remarks
A server group can exist within a server group, thus creating a hierarchy of server groups.
See Also
Reference
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace