Dela via


WmiCollectionBase.IsSynchronized Property

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

Property Value

Type: 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.

Remarks

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.