SfcCollection<T, K, ParentT>.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.

实现

ICollection.SyncRoot

请参阅

参考

SfcCollection<T, K, ParentT> 类

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间