PropertyCollection.SyncRoot 属性

Gets an object that can be used to synchronize access to the collection.

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

语法

声明
Public ReadOnly Property SyncRoot As Object 
    Get
用法
Dim instance As PropertyCollection 
Dim value As Object 

value = instance.SyncRoot
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
}
abstract SyncRoot : Object 
override SyncRoot : Object
final function get SyncRoot () : Object

属性值

类型:System.Object
An Object system object value that specifies the object that is used to synchronize access to the collection.

实现

ICollection.SyncRoot

示例

使用集合

请参阅

参考

PropertyCollection 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

使用集合