RegisteredServer 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。
public sealed class RegisteredServer : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.ICreatable, Microsoft.SqlServer.Management.Common.IDroppable, Microsoft.SqlServer.Management.Common.IRenamable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcAlterable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCreatable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDroppable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcMovable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcValidate
type RegisteredServer = class
inherit SfcInstance
interface ISfcValidate
interface ISfcCreatable
interface ICreatable
interface ISfcAlterable
interface IAlterable
interface ISfcDroppable
interface IDroppable
interface ISfcRenamable
interface IRenamable
interface ISfcMovable
Public NotInheritable Class RegisteredServer
Inherits SfcInstance
Implements IAlterable, ICreatable, IDroppable, IRenamable, ISfcAlterable, ISfcCreatable, ISfcDroppable, ISfcMovable, ISfcRenamable, ISfcValidate
- 继承
- 实现
构造函数
| 名称 | 说明 |
|---|---|
| RegisteredServer() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| RegisteredServer(ServerGroup, String) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| RegisteredServer(String) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
属性
| 名称 | 说明 |
|---|---|
| AbstractIdentityKey |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| ActiveDirectoryTenant |
Active Directory租户 |
| ActiveDirectoryUserId |
Active Directory用户 ID |
| AuthenticationType |
连接字符串不足以发现它的连接的身份验证类型 |
| ConnectionString |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ConnectionStringWithEncryptedPassword |
包含加密形式的密码的连接字符串。 始终返回共享服务器的空字符串。 |
| CredentialPersistenceType |
指示是否保存登录名和密码。 |
| CustomConnectionColorArgb |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| Description |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ID |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| IdentityKey |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| IsDropped |
如果 SFC 认为这是一个已删除的对象,则返回。 |
| IsLocal |
返回与此实例关联的 RegisteredServersStore 的 IsLocal 属性。 |
| KeyChain |
返回对象的标识路径 (继承自 SfcInstance) |
| Metadata |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Name |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| OtherParams |
要追加到连接字符串的其他参数 |
| Parent |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| Properties |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PropertyStorageProvider |
此属性返回 ISfcPropertyStorageProvider 接口的默认实现,可以在子类中重写它以返回另一个存储提供程序(即平面属性列表) (继承自 SfcInstance) |
| SecureConnectionString |
获取或设置特定于此服务器的连接相关数据。 |
| ServerName |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ServerType |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| State |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Tag |
由主机应用程序管理的标记值 |
| Urn |
在每个请求上创建新的 Urn 字符串并返回它。 (继承自 SfcInstance) |
| UseCustomConnectionColor |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
方法
| 名称 | 说明 |
|---|---|
| Alter() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| AlterImpl() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| CheckObjectCreated() |
当 API 要求对象的创建比 CheckObjectState 更强时从域调用 (继承自 SfcInstance) |
| CheckObjectState() |
从域中调用以访问对象 (继承自 SfcInstance) |
| Create() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| CreateIdentityKey() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| CreateImpl() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Discover(ISfcDependencyDiscoveryObjectSink) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Drop() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| DropImpl() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Export(String, CredentialPersistenceType) |
将组的内容导出到文件。 |
| GetChildCollection(String) |
获取此实例中给定元素名称字符串的子集合。 (继承自 SfcInstance) |
| GetConnectionObject() |
返回与连接字符串对应的连接对象 |
| GetDomain() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| GetObjectFactory() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| GetPropertySet() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| GetTypeMetadataImpl() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| InitializeUIPropertyState() |
可重写那些关心初始化其状态的子对象(当前为“动态元数据”。Enabled“ 属性) (继承自 SfcInstance) |
| MarkForDropImpl(Boolean) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| MarkRootAsConnected() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Move(ServerGroup) |
将 RegisteredServer 移动到另一个 ServerGroup 的子级。 |
| MoveImpl(SfcInstance) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| OnPropertyValueChanges(PropertyChangedEventArgs) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PostAlter(Object) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PostCreate(Object) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PostDrop(Object) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PostMove(Object) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PostRename(Object) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Refresh() |
通过从服务器读取对象属性来刷新这些属性 (继承自 SfcInstance) |
| Rename(SfcKey) |
重命名服务器上的对象。 |
| Rename(String) |
重命名服务器上的对象。 |
| RenameImpl(SfcKey) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| ResetKey() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Serialize(XmlWriter) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| ToString() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| UpdateUIPropertyState() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| Validate() |
基本子对象的验证 (继承自 SfcInstance) |
| Validate(String, Object[]) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
活动
| 名称 | 说明 |
|---|---|
| propertyChanged |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PropertyChanged |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| propertyMetadataChanged |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
| PropertyMetadataChanged |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 (继承自 SfcInstance) |
显式接口实现
| 名称 | 说明 |
|---|---|
| ISfcAlterable.ScriptAlter() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ISfcCreatable.ScriptCreate() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ISfcDroppable.ScriptDrop() |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ISfcMovable.Move(SfcInstance) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ISfcMovable.ScriptMove(SfcInstance) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |
| ISfcRenamable.ScriptRename(SfcKey) |
表示保存到已注册服务器文件的服务器连接。 由SQL Server Management Studio的已注册服务器功能使用。 |