مشاركة عبر


SqlServerRegistrations Class

Note: This API is now obsolete.

Represents registered instances of SQL Server.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public Class SqlServerRegistrations
'Usage
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

The SqlServerRegistrations type exposes the following members.

Constructors

  Name Description
Public method SqlServerRegistrations Represents registered instances of SQL Server.

Top

Properties

  Name Description
Public propertyStatic member RegisteredServers Gets a collection of registered servers.
Public propertyStatic member ServerGroups Gets a group of registered servers.

Top

Methods

  Name Description
Public methodStatic member EnumRegisteredServers Returns an array of servers.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Refresh Refreshes registered server collection.
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace