Share via


SchemaCacheTimeout 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 catalog and inventory schema elements remain in the cache.

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

Syntax

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

value = instance.SchemaCacheTimeout

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

Property Value

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

Remarks

The default SchemaCacheTimeout value is 5 minutes.

Permissions

See Also

Reference

CacheConfiguration Class

CacheConfiguration Members

Microsoft.CommerceServer.Catalog Namespace