Partajați prin


Caches Property

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

Gets a CommerceCacheCollection object containing the collection of caches configured for the site.

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

Syntax

'Declaration
Public ReadOnly Property Caches As CommerceCacheCollection
'Usage
Dim instance As CommerceContext
Dim value As CommerceCacheCollection

value = instance.Caches
public CommerceCacheCollection Caches { get; }
public:
property CommerceCacheCollection^ Caches {
    CommerceCacheCollection^ get ();
}
public function get Caches () : CommerceCacheCollection

Property Value

Type: Microsoft.CommerceServer.Runtime.Caching..::.CommerceCacheCollection
The collection of caches configured for the site.

Remarks

Stores a CommerceCacheCollection object containing the caches in the site. The value will be nullNothingnullptra null reference (Nothing in Visual Basic) if the CommerceCacheModule is not configured in the Web.config file. Always check this property for a non-nullNothingnullptra null reference (Nothing in Visual Basic) value before referencing it.

Permissions

See Also

Reference

CommerceContext Class

CommerceContext Members

Microsoft.CommerceServer.Runtime Namespace