WmiConnectionInfo Class
The WmiConnectionInfo class represents connection information used by the installation of Windows Management Instrumentation (WMI).
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.Wmi.WmiConnectionInfo
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public NotInheritable Class WmiConnectionInfo
'Usage
Dim instance As WmiConnectionInfo
public sealed class WmiConnectionInfo
public ref class WmiConnectionInfo sealed
[<SealedAttribute>]
type WmiConnectionInfo = class end
public final class WmiConnectionInfo
The WmiConnectionInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
SetPassword | Sets the password for the account that is used to establish the connection. | |
ToString | (Inherited from Object.) |
Top
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Examples
Managing Services and Network Settings by Using WMI Provider
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace