Megosztás a következőn keresztül:


ReplicationBaseCollection.SyncRoot Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
    Get
'Usage
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

Property Value

Type: System.Object
An Object.

Implements

ICollection.SyncRoot

Remarks

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