Dela via


Microsoft.SqlServer.Management.RegisteredServers Namespace

The Microsoft.SqlServer.Management.RegisteredServers namespace contains classes that represent the SQL Server Registered Servers service.

The Microsoft.SqlServer.Management.RegisteredServers namespace, available with SQL Server 2008, supersedes the Microsoft.SqlServer.Management.RegisteredServers namespace.

Classes

  Class Description
Public class DuplicateFoundEventArgs The event that is raised when a user attempts to import a registered server or server group that already exists in the local store.
Public class InvalidSqlServer2005StoreFormatException The InvalidSqlServer2005StoreFormatException class is an exception that is raised when the incorrect storage format is encountered.
Public class RegisteredServer Represents a SQL Serverregistered server.
Public class RegisteredServer.Key Represents the property that is associated with the object that is used to uniquely identify the object.
Public class RegisteredServerCollection The RegisteredServerCollection class represents a collection of RegisteredServer objects that represent all the registered servers that are defined on the parent object.
Public class RegisteredServerException The RegisteredServerException enumeration contains values that determine the kind of exception that was generated by the Registered Servers service.
Public class RegisteredServersStore The RegisteredServerStore class represents a SQL Server registered server store.
Public class RegisteredServersStore.Key The RegisteredServersStore.Key class represents the property that is associated with the object that uniquely identifies the object.
Public class ServerGroup The ServerGroup class represents a SQL Server server group.
Public class ServerGroup.Key Represents the property that is associated with the object that is used to uniquely identify the object.
Public class ServerGroupCollection The ServerGroupCollection class represents a collection of ServerGroup objects that represent all the server groups that are defined on the parent object.
Public class ServerGroupParent Represents the server group parent object.

Delegates

  Delegate Description
Public delegate RegisteredServersStore.ExceptionDelegate Represents the delegate that is used to throw a registered server exception.

Enumerations

  Enumeration Description
Public enumeration CredentialPersistenceType The CredentialPersistenceType enumeration contains values that are used to specify how the login and passwords are persisted.
Public enumeration RegisteredServerExceptionType The RegisteredServerExceptionType enumeration contains values that are used to specify the type of registered server exception.