SyncRoot 属性

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

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

语法

声明
Public ReadOnly Property SyncRoot As Object
    Get
用法
Dim instance As RegSvrCollectionBase
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 can be used to synchronize access to the collection.