WmiConnectionInfo 类
The WmiConnectionInfo class represents connection information used by the installation of Windows Management Instrumentation (WMI).
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo.Wmi..::..WmiConnectionInfo
命名空间: Microsoft.SqlServer.Management.Smo.Wmi
程序集: Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
语法
声明
Public NotInheritable Class WmiConnectionInfo
用法
Dim instance As WmiConnectionInfo
public sealed class WmiConnectionInfo
public ref class WmiConnectionInfo sealed
[<SealedAttribute>]
type WmiConnectionInfo = class end
public final class WmiConnectionInfo
WmiConnectionInfo 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
MachineName | Gets or sets the name of the computer on which Windows Management Instrumentation (WMI) is installed. | |
ProviderArchitecture | Gets or sets the ProviderArchitecture value which represents the provider architecture of this instance. | |
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. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
SetPassword | Sets the password for the account that is used to establish the connection. | |
ToString | (从 Object 继承。) |
页首
注释
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。