ItemRelationshipsCacheTimeout Property

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

Gets or sets a value indicating the time for which the category and product relationships remain in the cache.

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

Syntax

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

value = instance.ItemRelationshipsCacheTimeout

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

Property Value

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

Remarks

The default ItemRelationshipsCacheTimeout value is 5 minutes.

Permissions

See Also

Reference

CacheConfiguration Class

CacheConfiguration Members

Microsoft.CommerceServer.Catalog Namespace