Udostępnij przez


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

'Deklaracja
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class RegisteredServerCollection
    Inherits SfcCollatedDictionaryCollection(Of RegisteredServer, Key, ServerGroup)
[DefaultMemberAttribute("Item")] 
public sealed class RegisteredServerCollection : SfcCollatedDictionaryCollection<RegisteredServer,Key,ServerGroup>
[DefaultMemberAttribute(L"Item")] 
public ref class RegisteredServerCollection sealed : public SfcCollatedDictionaryCollection<RegisteredServer^, Key^, ServerGroup^>
/** @attribute DefaultMemberAttribute("Item") */ 
public final class RegisteredServerCollection extends SfcCollatedDictionaryCollection<RegisteredServer,Key,ServerGroup>
DefaultMemberAttribute("Item") 
public final class RegisteredServerCollection extends SfcCollatedDictionaryCollection<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
   Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection
     Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection
      Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerCollection

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0