Share via


CacheEnabled Property

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

Gets or sets a value indicating whether caching is enabled or not.

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

Syntax

'Declaration
Public Property CacheEnabled As Boolean
'Usage
Dim instance As CacheConfiguration
Dim value As Boolean

value = instance.CacheEnabled

instance.CacheEnabled = value
public bool CacheEnabled { get; set; }
public:
property bool CacheEnabled {
    bool get ();
    void set (bool value);
}
public function get CacheEnabled () : boolean
public function set CacheEnabled (value : boolean)

Property Value

Type: System..::.Boolean
True to indicate the caching is enabled. False otherwise.

Remarks

This property represents an internal field which keeps a track of whether caching is enabled or not. It specifies whether or not a cache is used for the Catalog configuration.

Permissions

See Also

Reference

CacheConfiguration Class

CacheConfiguration Members

Microsoft.CommerceServer.Catalog Namespace