Delen via


RegisteredServerCollection Class

The RegisteredServerCollection class represents a collection of RegisteredServer objects that represent all the registered servers that are defined on the parent object.

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

Syntax

'Declaration
Public NotInheritable Class RegisteredServerCollection _
    Inherits SfcCollatedDictionaryCollection(Of RegisteredServer, RegisteredServer..::..Key, ServerGroup)
'Usage
Dim instance As RegisteredServerCollection
public sealed class RegisteredServerCollection : SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer..::..Key, ServerGroup>
public ref class RegisteredServerCollection sealed : public SfcCollatedDictionaryCollection<RegisteredServer^, RegisteredServer..::..Key^, ServerGroup^>
[<SealedAttribute>]
type RegisteredServerCollection =  
    class
        inherit SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer..::..Key, ServerGroup>
    end
public final class RegisteredServerCollection extends SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer..::..Key, ServerGroup>

Remarks

A RegisteredServerCollection object can be used to gain access to a set of check constraints. You can use the Item() property to return a specific RegisteredServer object.

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

Inheritance Hierarchy

System.Object
  SfcCollection<RegisteredServer, RegisteredServer.Key, ServerGroup>
    SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer.Key, ServerGroup>
      Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.