Classe WmiConnectionInfo
The WmiConnectionInfo class represents connection information used by the installation of Windows Management Instrumentation (WMI).
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Management.Smo.Wmi.WmiConnectionInfo
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class WmiConnectionInfo
'Utilizzo
Dim instance As WmiConnectionInfo
public sealed class WmiConnectionInfo
public ref class WmiConnectionInfo sealed
[<SealedAttribute>]
type WmiConnectionInfo = class end
public final class WmiConnectionInfo
Nel tipo WmiConnectionInfo sono esposti i membri seguenti.
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
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. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetType | Ereditato da Object. |
![]() |
SetPassword | Sets the password for the account that is used to establish the connection. |
![]() |
ToString | Ereditato da Object. |
In alto
Osservazioni
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Esempi
Gestione di servizi e di impostazioni di rete tramite il provider WMI
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi