Freigeben über


WmiCollectionBase.IsSynchronized-Eigenschaft

Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe).

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Property IsSynchronized As Boolean 
    Get
'Usage
Dim instance As WmiCollectionBase 
Dim value As Boolean 

value = instance.IsSynchronized
public bool IsSynchronized { get; }
public:
virtual property bool IsSynchronized {
    bool get () sealed;
}
abstract IsSynchronized : bool 
override IsSynchronized : bool
final function get IsSynchronized () : boolean

Eigenschaftswert

Typ: System.Boolean
A Boolean value that specifies whether access to the collection is thread safe.If True, access to the collection is synchronized.If False (default), access to the collection is not synchronized.

Hinweise

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

Siehe auch

Verweis

WmiCollectionBase Klasse

Microsoft.SqlServer.Management.Smo.Wmi-Namespace

Andere Ressourcen

WMI and SQL Server

Herstellen einer Verbindung zum SQL Server-Datenbankmodul