Freigeben über


WmiConnectionInfo-Klasse

The WmiConnectionInfo class represents connection information used by the installation of Windows Management Instrumentation (WMI).

Vererbungshierarchie

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

Der WmiConnectionInfo-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft MachineName Gets or sets the name of the computer on which Windows Management Instrumentation (WMI) is installed.
Öffentliche Eigenschaft ProviderArchitecture Gets or sets the ProviderArchitecture value which represents the provider architecture of this instance.
Öffentliche Eigenschaft Timeout Gets or sets the period after which the Windows Management Instrumentation (WMI) connection times out in seconds.
Öffentliche Eigenschaft Username Gets the name of the account used to establish the connection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode SetPassword Sets the password for the account that is used to establish the connection.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Verwalten von Diensten und Netzwerkeinstellungen durch die Nutzung von WMI-Anbieter

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo.Wmi-Namespace

Andere Ressourcen

WMI and SQL Server