다음을 통해 공유


ItemHierarchyCacheTimeout 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 parent and child categories and the child products of catalog items remain in the cache.

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

Syntax

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

value = instance.ItemHierarchyCacheTimeout

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

Property Value

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

Remarks

The default ItemHierarchyCacheTimeout value is 5 minutes.

Permissions

See Also

Reference

CacheConfiguration Class

CacheConfiguration Members

Microsoft.CommerceServer.Catalog Namespace