Share via


CatalogCollectionCacheTimeout Property

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

Gets or sets a value indicating how long the catalog, catalogsets, and inventory catalog collections remain in the cache.

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

Syntax

'Declaration
Public Property CatalogCollectionCacheTimeout As TimeSpan
'Usage
Dim instance As CacheConfiguration
Dim value As TimeSpan

value = instance.CatalogCollectionCacheTimeout

instance.CatalogCollectionCacheTimeout = value
public TimeSpan CatalogCollectionCacheTimeout { get; set; }
public:
property TimeSpan CatalogCollectionCacheTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
public function get CatalogCollectionCacheTimeout () : TimeSpan
public function set CatalogCollectionCacheTimeout (value : TimeSpan)

Property Value

Type: System..::.TimeSpan
A System.TimeSpan that specifies the time interval during which the Catalog collection remains in the cache.

Remarks

The default CatalogCollectionCacheTimeout value is 5 minutes.

Permissions

See Also

Reference

CacheConfiguration Class

CacheConfiguration Members

Microsoft.CommerceServer.Catalog Namespace