Элементы ServerAlias

The ServerAlias class represents an alias for a server connection on the Windows Management Instrumentation (WMI) installation.

Тип ServerAlias предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ServerAlias() () () () Initializes a new instance of the ServerAlias class.
Открытый метод ServerAlias(ManagedComputer, String) Initializes a new instance of the ServerAlias class on the specified WMI installation and with the specified name.

В начало

Методы

  Имя Описание
Защищенный метод AlterProtocolProperties Updates any protocol object property changes on the Windows Management Instrumentation (WMI) installation. (Наследуется из WmiSmoObject.)
Защищенный метод CheckObjectState Checks the state of the referenced object. (Наследуется из WmiSmoObject.)
Открытый метод Create Creates a server connection alias on the WMI installation as defined by the ServerAlias object.
Защищенный метод CreateProtocolPropertyCollection Creates a set of protocol attributes for the referenced object. (Наследуется из WmiSmoObject.)
Открытый метод Drop Removes the server connection alias from the WMI installation.
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetHashCode (Наследуется из Object.)
Защищенный метод GetPropertyManagementObject Gets the management object for the specified protocol property. (Наследуется из WmiSmoObject.)
Защищенный метод GetPropertyObject Gets the property from the specified collection with the specified position and value. (Наследуется из WmiSmoObject.)
Защищенный метод GetProtocolPropertyCollection Returns the protocol property collection for the referenced object. (Наследуется из WmiSmoObject.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод ImplInitialize (Наследуется из WmiSmoObject.)
Открытый метод Initialize Initializes the referenced object. (Наследуется из WmiSmoObject.)
Защищенный метод InvokeMgmtMethod(ManagementObject, String, array<Object> [] () [] []) Invokes the management method for the referenced object with the specified management object, method name, and parameters. (Наследуется из WmiSmoObject.)
Защищенный метод InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, array<Object> [] () [] []) Invokes the management method for the referenced object with the specified management object, observer, method name, and parameters. (Наследуется из WmiSmoObject.)
Защищенный метод IsObjectInitialized Specifies whether the referenced object is initialized. (Наследуется из WmiSmoObject.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод Refresh Refreshes the referenced object and its properties. (Наследуется из WmiSmoObject.)
Защищенный метод SetName Sets the name of the referenced object. (Наследуется из WmiSmoObject.)
Защищенный метод SetParentImpl Sets the parent of the referenced object. (Наследуется из WmiSmoObject.)
Открытый метод ToString (Наследуется из Object.)
Защищенный метод UpdateObjectState Updates the object state. (Наследуется из WmiSmoObject.)
Открытый метод Validate (Наследуется из SmoObjectBase.)

В начало

Свойства

  Имя Описание
Открытое свойство ConnectionString Gets or sets the connection string that the alias uses to connect to the server.
Открытое свойство Name Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (Наследуется из WmiSmoObject.)
Открытое свойство Parent Gets or sets the ManagedComputer object that is the parent of the ServerAlias object.
Открытое свойство Properties Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (Наследуется из WmiSmoObject.)
Открытое свойство ProtocolName Gets or sets the name of the protocol used by the server connection alias.
Открытое свойство ServerName Gets or sets the name of the instance of SQL Server to which the server alias connects.
Открытое свойство State Gets the state of the referenced object. (Наследуется из SmoObjectBase.)
Открытое свойство Urn Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (Наследуется из WmiSmoObject.)
Открытое свойство UserData Gets or sets user-defined data associated with the referenced object. (Наследуется из SmoObjectBase.)

В начало