Freigeben über


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

Eigenschaftenwert

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. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.