Свойство ServerGroup.ServerGroups

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

Пространство имен:  Microsoft.SqlServer.Management.RegisteredServers
Сборка:  Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)

Синтаксис

'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ServerGroup))> _
Public ReadOnly Property ServerGroups As ServerGroupCollection 
    Get
'Применение
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

Значение свойства

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

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

См. также

Справочник

ServerGroup Класс

Пространство имен Microsoft.SqlServer.Management.RegisteredServers