ItemAssociationsCacheTimeout Property

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

Gets or sets a value indicating how long the associations of this item remain in the cache.

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

Syntax

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

value = instance.ItemAssociationsCacheTimeout

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

Property Value

Type: System..::.TimeSpan
A System.TimeSpan that specifies the time interval during which the items associated with the cache configuration remains in the cache.

Remarks

The default ItemAssociationsCacheTimeout value is 5 minutes.

Permissions

See Also

Reference

CacheConfiguration Class

CacheConfiguration Members

Microsoft.CommerceServer.Catalog Namespace