IsSynchronized 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo.Wmi
程序集:  Microsoft.SqlServer.SqlWmiManagement(在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

语法

声明
Public ReadOnly Property IsSynchronized As Boolean
    Get
用法
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

属性值

类型: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.

注释

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。