ServerAlias Members
The ServerAlias class represents an alias for a server connection on the Windows Management Instrumentation (WMI) installation.
The following tables list the members exposed by the ServerAlias type.
Public Constructors
이름 | Description | |
---|---|---|
ServerAlias | Overloaded. Initializes a new instance of the ServerAlias class. |
위쪽
Public Properties
이름 | Description | |
---|---|---|
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. (inherited from 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. (inherited from 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. (inherited from SmoObjectBase) | |
Urn | Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject) | |
UserData | Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase) |
위쪽
Public Methods
(see also Protected Methods )
이름 | Description | |
---|---|---|
Create | Creates a server connection alias on the WMI installation as defined by the ServerAlias object. | |
Drop | Removes the server connection alias from the WMI installation. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Initialize | Initializes the referenced object. (inherited from WmiSmoObject) | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Refreshes the referenced object and its properties. (inherited from WmiSmoObject) | |
ToString | (inherited from Object ) |
위쪽
Protected Methods
이름 | Description | |
---|---|---|
AlterProtocolProperties | (inherited from WmiSmoObject ) | |
CheckObjectState | Checks the state of the referenced object. (inherited from WmiSmoObject) | |
CreateProtocolPropertyCollection | Creates a set of protocol attributes for the referenced object. (inherited from WmiSmoObject) | |
Finalize | (inherited from Object ) | |
GetPropertyManagementObject | (inherited from WmiSmoObject ) | |
GetPropertyObject | (inherited from WmiSmoObject ) | |
GetProtocolPropertyCollection | Returns the protocol property collection for the referenced object. (inherited from WmiSmoObject) | |
ImplInitialize | (inherited from WmiSmoObject ) | |
InvokeMgmtMethod | Overloaded. (inherited from WmiSmoObject ) | |
IsObjectInitialized | Specifies whether the referenced object is initialized. (inherited from WmiSmoObject) | |
MemberwiseClone | (inherited from Object ) | |
SetName | (inherited from WmiSmoObject ) | |
SetParentImpl | (inherited from WmiSmoObject ) | |
Trace | (inherited from WmiSmoObject ) | |
UpdateObjectState | Updates the object state. (inherited from WmiSmoObject) |
위쪽
참고 항목
참조
ServerAlias Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace
관련 자료
Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
SQL Server 데이터베이스 엔진에 연결