Microsoft.SqlServer.Management.RegisteredServers 命名空间

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.

  说明
公共类 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.
公共类 InvalidSqlServer2005StoreFormatException The InvalidSqlServer2005StoreFormatException class is an exception that is raised when the incorrect storage format is encountered.
公共类 RegisteredServer Represents a SQL Serverregistered server.
公共类 RegisteredServer. . :: . .Key Represents the property that is associated with the object that is used to uniquely identify the object.
公共类 RegisteredServerCollection The RegisteredServerCollection class represents a collection of RegisteredServer objects that represent all the registered servers that are defined on the parent object.
公共类 RegisteredServerException The RegisteredServerException enumeration contains values that determine the kind of exception that was generated by the Registered Servers service.
公共类 RegisteredServersStore The RegisteredServerStore class represents a SQL Server registered server store.
公共类 RegisteredServersStore. . :: . .Key The RegisteredServersStore..::..Key class represents the property that is associated with the object that uniquely identifies the object.
公共类 ServerGroup The ServerGroup class represents a SQL Server server group.
公共类 ServerGroup. . :: . .Key Represents the property that is associated with the object that is used to uniquely identify the object.
公共类 ServerGroupCollection The ServerGroupCollection class represents a collection of ServerGroup objects that represent all the server groups that are defined on the parent object.
公共类 ServerGroupParent 表示服务器组父对象。

委托

  委托 说明
公共委托 RegisteredServersStore. . :: . .ExceptionDelegate Represents the delegate that is used to throw a registered server exception.

枚举

  枚举 说明
公共枚举 CredentialPersistenceType CredentialPersistenceType 枚举包含用来指定保持登录名和密码的方式的值。
公共枚举 RegisteredServerExceptionType RegisteredServerExceptionType 枚举包含用来指定已注册服务器异常类型的值。