Share via


SyncRoot Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets an object that can be used for synchronized access to the CommerceCacheCollection.

Namespace:  Microsoft.CommerceServer.Runtime.Caching
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
'Usage
Dim instance As CommerceCacheCollection
Dim value As Object

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

Property Value

Type: System..::.Object
An object that can be used for synchronized access to the CommerceCacheCollection.

Implements

ICollection..::.SyncRoot

Remarks

The object returned in this implementation is the CommerceCacheCollection object.

Permissions

See Also

Reference

CommerceCacheCollection Class

CommerceCacheCollection Members

Microsoft.CommerceServer.Runtime.Caching Namespace