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 | |
---|---|---|
![]() |
MachineName | Gets or sets the name of the computer on which Windows Management Instrumentation (WMI) is installed. |
![]() |
ProviderArchitecture | |
![]() |
Timeout | Gets or sets the period after which the Windows Management Instrumentation (WMI) connection times out in seconds. |
![]() |
Username | Gets the name of the account used to establish the connection. |
顶部
Public Methods
(see also Protected Methods )
名称 | Description | |
---|---|---|
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
SetPassword | Sets the password for the account that is used to establish the connection. |
![]() |
ToString | (inherited from Object ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
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 数据库引擎