Właściwość RegisteredServersStore.ServerGroups
Reprezentuje kolekcja ServerGroup obiektów.Każdy RegisteredServer obiekt reprezentuje grupę serwerów na zarejestrowanych serwera magazynu.
Przestrzeń nazw: Microsoft.SqlServer.Management.RegisteredServers
Zestaw: Microsoft.SqlServer.Management.RegisteredServers (w Microsoft.SqlServer.Management.RegisteredServers.dll)
Składnia
'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(ServerGroup))> _
Public ReadOnly Property ServerGroups As ServerGroupCollection
Get
'Użycie
Dim instance As RegisteredServersStore
Dim value As ServerGroupCollection
value = instance.ServerGroups
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServerGroup))]
public ServerGroupCollection ServerGroups { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(ServerGroup))]
public:
property ServerGroupCollection^ ServerGroups {
ServerGroupCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServerGroup))>]
member ServerGroups : ServerGroupCollection
function get ServerGroups () : ServerGroupCollection
Wartość właściwości
Typ: Microsoft.SqlServer.Management.RegisteredServers.ServerGroupCollection
A ServerGroupCollection obiekt, który reprezentuje wszystkie grupy serwerów, które są zdefiniowane w magazynie.
Uwagi
Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.
Zobacz także