Freigeben über


ServerGroup.ServerGroups-Eigenschaft

Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group.

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 ServerGroup 
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

Eigenschaftswert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

ServerGroup Klasse

Microsoft.SqlServer.Management.RegisteredServers-Namespace