次の方法で共有


ServerGroups プロパティ

ServerGroup オブジェクトのコレクションを表します。各 ServerGroup オブジェクトはサーバー グループを表します。

名前空間:  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
親オブジェクトで定義されたすべてのサーバー グループを表す ServerGroupCollection オブジェクトです。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。