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 版支援此命名空間、類別或成員。