共用方式為


ReplicationBaseCollection.SyncRoot 屬性

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public ReadOnly Property SyncRoot As Object 
    Get
'用途
Dim instance As ReplicationBaseCollection 
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 that can be used to synchronize access to the collection.

實作

ICollection.SyncRoot

備註

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

請參閱

參考

ReplicationBaseCollection 類別

Microsoft.SqlServer.Replication 命名空間