다음을 통해 공유


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 버전에서만 지원됩니다.