Compartir a través de


ServerGroup.ServerGroups Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.RegisteredServers
Ensamblado:  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxis

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

Valor de la propiedad

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

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Vea también

Referencia

ServerGroup Clase

Espacio de nombres Microsoft.SqlServer.Management.RegisteredServers