WmiConnectionInfo Members
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 Database Engine