Jaa


FlushCache Method

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

Removes all loaded and precompiled expressions from the evaluator's expression cache.

Namespace:  Microsoft.CommerceServer.Runtime.Targeting
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub FlushCache
'Usage
Dim instance As ExpressionEvaluator

instance.FlushCache()
public void FlushCache()
public:
void FlushCache()
public function FlushCache()

Exceptions

Exception Condition
CommerceTargetingException

The cache could not be flushed.

Remarks

Use this method to remove all loaded and pre-compiled expressions from the evaluator's expression cache.

Permissions

See Also

Reference

ExpressionEvaluator Class

ExpressionEvaluator Members

Microsoft.CommerceServer.Runtime.Targeting Namespace