Udostępnij za pośrednictwem


Właściwość ServerGroupBase.ServerGroups

Reprezentuje kolekcja ServerGroup obiektów.Każdy ServerGroup obiekt reprezentuje grupę serwerów znajduje się w grupie serwera nadrzędnego.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Zestaw:  Microsoft.SqlServer.SmoExtended (w Microsoft.SqlServer.SmoExtended.dll)

Składnia

'Deklaracja
Public ReadOnly Property ServerGroups As ServerGroupCollection
    Get
'Użycie
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

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupCollection
A ServerGroupCollection obiektu reprezentujących grupy serwerów zawartych w grupie serwera nadrzędnego.

Uwagi

Grupa serwerów może istnieć w obrębie grupy serwerów w ten sposób tworzenie hierarchii grup serwerów.