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 | |
|---|---|---|
| .gif) | SqlServerRegistrations | Represents registered instances of SQL Server. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) .gif) | RegisteredServers | Gets a collection of registered servers. | 
| .gif) .gif) | ServerGroups | Gets a group of registered servers. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | EnumRegisteredServers | Returns an array of servers. | 
| .gif) | Equals | (Inherited from Object.) | 
| .gif) | Finalize | (Inherited from Object.) | 
| .gif) | GetHashCode | (Inherited from Object.) | 
| .gif) | GetType | (Inherited from Object.) | 
| .gif) | MemberwiseClone | (Inherited from Object.) | 
| .gif) .gif) | Refresh | Refreshes registered server collection. | 
| .gif) | 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.