SyncRoot 屬性
Gets or sets an object that can be used to synchronize access to the collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Property SyncRoot As Object
Get
Set
'用途
Dim instance As SfcCollection
Dim value As Object
value = instance.SyncRoot
instance.SyncRoot = value
public Object SyncRoot { get; set; }
public:
virtual property Object^ SyncRoot {
Object^ get () sealed;
void set (Object^ value) sealed;
}
abstract SyncRoot : Object with get, set
override SyncRoot : Object with get, set
final function get SyncRoot () : Object
final function set SyncRoot (value : Object)
屬性值
型別:System. . :: . .Object
An object that can be used to synchronize access to the collection.