共用方式為


WmiCollectionBase.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 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。

範例

使用 WMI 提供者管理服務和網路設定

請參閱

參考

WmiCollectionBase 類別

Microsoft.SqlServer.Management.Smo.Wmi 命名空間

其他資源

WMI and SQL Server

連接到 SQL Server Database Engine