Condividi tramite


Proprietà WmiCollectionBase.SyncRoot

Gets an object that can be used to synchronize access to the collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property SyncRoot As Object 
    Get
'Utilizzo
Dim instance As WmiCollectionBase 
Dim value As Object 

value = instance.SyncRoot
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
}
abstract SyncRoot : Object 
override SyncRoot : Object
final function get SyncRoot () : Object

Valore proprietà

Tipo: System.Object
An Object value that can be used to synchronize access to the collection.

Esempi

Gestione di servizi e di impostazioni di rete tramite il provider WMI

Vedere anche

Riferimento

WmiCollectionBase Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi

Altre risorse

WMI and SQL Server

Connessione al Motore di database di SQL Server