Sdílet prostřednictvím


ServerGroup.RegisteredServers Property

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(RegisteredServer))> _
Public ReadOnly Property RegisteredServers As RegisteredServerCollection
    Get
'Usage
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

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.