共用方式為


RegisteredServers 屬性

Represents a collection of RegisteredServers objects. Each RegisteredServers object represents a registered server.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(RegisteredServer))> _
Public ReadOnly Property RegisteredServers As RegisteredServerCollection
    Get
'用途
Dim instance As ServerGroup
Dim value As RegisteredServerCollection

value = instance.RegisteredServers
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(RegisteredServer))]
public RegisteredServerCollection RegisteredServers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(RegisteredServer))]
public:
property RegisteredServerCollection^ RegisteredServers {
    RegisteredServerCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(RegisteredServer))>]
member RegisteredServers : RegisteredServerCollection
function get RegisteredServers () : RegisteredServerCollection

屬性值

型別:Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServerCollection
A RegisteredServersCollection object that represents all the registered servers that are defined on the parent object.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。