共用方式為


RegSvrCollectionBase 類別

注意:此 API 已經過時。

The RegSvrCollectionBase class is a base class used in the construction of the RegisteredServerCollection object.

繼承階層

System.Object
  Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrCollectionBase
    Microsoft.SqlServer.Management.Smo.RegisteredServers.RegisteredServerCollection
    Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupCollection

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

語法

'宣告
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public MustInherit Class RegSvrCollectionBase
'用途
Dim instance As RegSvrCollectionBase
[ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public abstract class RegSvrCollectionBase
[ObsoleteAttribute(L"Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public ref class RegSvrCollectionBase abstract
[<AbstractClassAttribute>]
[<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")>]
type RegSvrCollectionBase =  class end
public abstract class RegSvrCollectionBase

RegSvrCollectionBase 型別公開下列成員。

屬性

  名稱 說明
公用屬性 IsSynchronized Gets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe.
公用屬性 SyncRoot Gets an object that can be used to synchronize access to the collection.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

欄位

  名稱 說明
受保護的欄位 initialized Gets a Boolean value indicating the collection is initialized.If True, collection is initialized. If False the collection is not initialized.
受保護的欄位 innerColl The sort list which contains the underlying collection of registered servers.

上層

執行緒安全性

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

請參閱

參考

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空間

其他資源

管理已註冊的伺服器