Sdílet prostřednictvím


RegisteredServersStore.ServerGroups Property

Represents a collection of ServerGroup objects. Each RegisteredServer object represents a server group on the registered server store.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ServerGroup))> _
Public ReadOnly Property ServerGroups As ServerGroupCollection
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.RegisteredServers.ServerGroupCollection
A ServerGroupCollection object that represents all the server groups that are defined on the store.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.