Partager via


Propriété ServerGroups

Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ServerGroups As ServerGroupCollection
    Get
'Utilisation
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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .ServerGroupCollection
A ServerGroupCollection object that represents all the server groups that are included in the parent server group.

Notes

A server group can exist within a server group, thus creating a hierarchy of server groups.