RegisteredServer 类
The RegisteredServer class represents a SQL Server registered server.
继承层次结构
System. . :: . .Object
SfcInstance
Microsoft.SqlServer.Management.RegisteredServers..::..RegisteredServer
命名空间: Microsoft.SqlServer.Management.RegisteredServers
程序集: Microsoft.SqlServer.Management.RegisteredServers(在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
语法
声明
Public NotInheritable Class RegisteredServer _
Inherits SfcInstance _
Implements ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, _
IAlterable, ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, _
ISfcMovable
用法
Dim instance As RegisteredServer
public sealed class RegisteredServer : SfcInstance,
ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable,
ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
public ref class RegisteredServer sealed : public SfcInstance,
ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable,
ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
[<SealedAttribute>]
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
end
public final class RegisteredServer extends SfcInstance implements ISfcValidate, ISfcCreatable, ICreatable, ISfcAlterable, IAlterable, ISfcDroppable, IDroppable, ISfcRenamable, IRenamable, ISfcMovable
RegisteredServer 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
RegisteredServer() () () () | Initializes a new instance of the RegisteredServer class. |
![]() |
RegisteredServer(String) | Initializes a new instance of the RegisteredServer class that has the specified name. |
![]() |
RegisteredServer(ServerGroup, String) |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AbstractIdentityKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
ConnectionString | Gets or sets the connection string that is used to connect to the instance of SQL Server. |
![]() |
ConnectionStringWithEncryptedPassword | Gets the connection string that is used to connect to the instance of SQL Server that has the encrypted password. |
![]() |
CredentialPersistenceType | Gets or sets how the logins and passwords are persisted on the registered server. |
![]() |
CustomConnectionColorArgb | |
![]() |
Description | Gets the name of the registered server. |
![]() |
ID | Gets the ID value that uniquely identifies the registered server. |
![]() |
IdentityKey | Gets the key value that uniquely identifies the registered server. |
![]() |
IsDropped | Gets the Boolean value that specifies whether the registered server has been dropped or not. |
![]() |
IsLocal | Gets the Boolean value that specifies whether the registered server is local or not. |
![]() |
Metadata | Returns metadata about the instance and its domain. (从 SfcInstance 继承。) |
![]() |
Name | Gets the name of the registered server key. |
![]() |
Parent | Gets the parent of the RegisteredServer object. |
![]() |
Properties | Returns a collection instance properties. (从 SfcInstance 继承。) |
![]() |
PropertyStorageProvider | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
SecureConnectionString | Gets or sets the secure string that is used to connect to the instance of SQL Server. |
![]() |
ServerName | Gets or sets the name of the server that is associated with the registered server. |
![]() |
ServerType | Gets or the kind of server that is associated with the registered server. |
![]() |
State | Returns the state of the SfcInstance object. (从 SfcInstance 继承。) |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. (从 SfcInstance 继承。) |
![]() |
UseCustomConnectionColor |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Alter | Updates any RegisteredServer object property changes on the instance of SQL Server. |
![]() |
AlterImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CheckObjectCreated | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CheckObjectState | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Create | Creates a registered server on the instance of SQL Server as defined by the RegisteredServer object. |
![]() |
CreateIdentityKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
CreateImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Discover | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Drop | Drops the registered server. |
![]() |
DropImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
Export | Exports the registered server to the specified file and using the given credential persistence type. |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetChildCollection | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
GetConnectionObject | Returns the SFC interface object that represents the connection to the instance of SQL Server. |
![]() |
GetDomain | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() ![]() |
GetObjectFactory | Returns the SFC object factory for the RegisteredServer object. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (从 SfcInstance 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetTypeMetadataImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
InitializeUIPropertyState | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
MarkForDropImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
MarkRootAsConnected | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
Move | |
![]() |
MoveImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (从 SfcInstance 继承。) |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (从 SfcInstance 继承。) |
![]() |
PostAlter | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostCreate | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostDrop | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostMove | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PostRename | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (从 SfcInstance 继承。) |
![]() |
Rename(SfcKey) | |
![]() |
Rename(String) | Renames the RegisteredServer object by using the specified name. |
![]() |
RenameImpl | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
ResetKey | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Serialize | Serializes the instance to XML. (从 SfcInstance 继承。) |
![]() |
ToString | Returns a string representation of the instance Urn. (从 SfcInstance 继承。) |
![]() |
UpdateUIPropertyState | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Validate()()()() | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
Validate(String, array<Object> [] () [] []) | Validates the RegisteredServer object against the specified method and arguments. |
页首
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
propertyChanged | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PropertyChanged | CLS-compliant event for property changes. (从 SfcInstance 继承。) |
![]() |
propertyMetadataChanged | 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcInstance 继承。) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (从 SfcInstance 继承。) |
页首
显式接口实现
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
ISfcMovableMove | |
![]() ![]() |
ISfcAlterableScriptAlter | |
![]() ![]() |
ISfcCreatableScriptCreate | |
![]() ![]() |
ISfcDroppableScriptDrop | |
![]() ![]() |
ISfcMovableScriptMove | |
![]() ![]() |
ISfcRenamableScriptRename |
页首
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)