The WmiConnectionInfo class represents connection information used by the installation of Windows Management Instrumentation (WMI).
The following tables list the members exposed by the WmiConnectionInfo type.
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | MachineName | Gets or sets the name of the computer on which Windows Management Instrumentation (WMI) is installed. | 
| .gif) | ProviderArchitecture | |
| .gif) | Timeout | Gets or sets the period after which the Windows Management Instrumentation (WMI) connection times out in seconds. | 
| .gif) | Username | Gets the name of the account used to establish the connection. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | SetPassword | Sets the password for the account that is used to establish the connection. | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
WmiConnectionInfo Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace
其他资源
Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
连接到 SQL Server 数据库引擎