Share via


ExpressionEvaluator.FlushAll Method (PIA)

Use this method to remove all expressions from the expression cache.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Targeting
…
Public Sub FlushAll()

[C#]

using Microsoft.CommerceServer.Interop.Targeting;
…
public void FlushAll();

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

The FlushAll method removes all expressions from the expression cache and resets the read-only ExprCount property to zero (0).

Use the FlushExpr method to remove a specific expression from the expression cache.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Targeting

Platforms: Windows 2000, Windows Server 2003

Assembly: exprarchlib (in exprarchlib.dll)

See Also

ExpressionEvaluatorClass

ExpressionEvaluator.ExprCount

ExpressionEvaluator.FlushExpr

ExpressionEvaluator.LoadAll

ExpressionEvaluator.LoadExpr

Copyright © 2005 Microsoft Corporation.
All rights reserved.