Share via


SqlServerRegistrations 類別

注意:此 API 已經過時。

Represents registered instances of SQL Server.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo..::..SqlServerRegistrations

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

語法

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

SqlServerRegistrations 型別公開下列成員。

建構函式

  名稱 說明
公用方法 SqlServerRegistrations Represents registered instances of SQL Server.

上層

屬性

  名稱 說明
公用屬性靜態成員 RegisteredServers Gets a collection of registered servers.
公用屬性靜態成員 ServerGroups Gets a group of registered servers.

上層

方法

  名稱 說明
公用方法靜態成員 EnumRegisteredServers Returns an array of servers.
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法靜態成員 Refresh Refreshes registered server collection.
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

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