Partager via


Classe RegisteredServerCollection

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

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (dans Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
Public NotInheritable Class RegisteredServerCollection _
    Inherits SfcCollatedDictionaryCollection(Of RegisteredServer, RegisteredServer..::..Key, ServerGroup)
'Utilisation
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>

Notes

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.

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Hiérarchie d'héritage

System. . :: . .Object
  SfcCollection< (Of < ( <'RegisteredServer, RegisteredServer. . :: . .Key, ServerGroup> ) > ) >
    SfcCollatedDictionaryCollection< (Of < ( <'RegisteredServer, RegisteredServer. . :: . .Key, ServerGroup> ) > ) >
      Microsoft.SqlServer.Management.RegisteredServers..::..RegisteredServerCollection

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.