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。) |
頂端