共用方式為


RegisteredServerCollection 類別

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

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

語法

'宣告
Public NotInheritable Class RegisteredServerCollection _
    Inherits SfcCollatedDictionaryCollection(Of RegisteredServer, RegisteredServer..::..Key, ServerGroup)
'用途
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>

備註

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.

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

範例

使用集合

繼承階層

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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。