ExpressionStore Class (PIA)
Use this object to manipulate expressions contained in an expression store. An expression store is a database of expressions along with information about the expressions. There is one expression store for each Commerce site.
Methods
Method | Description |
---|---|
Connect | Validates and stores the connection string to the specified expression store. |
DeleteExpression | Deletes an expression from the expression store. |
Disconnect | Sets the connection string to an empty string. |
Export | Exports expressions from the expression store to a file. |
GetAllExprs | Retrieves all expressions from the expression store. |
GetExpression | Retrieves an expression from the expression store. |
GetExprID | Translates an expression name into its corresponding expression ID. |
GetExprName | Translates an expression ID into its corresponding expression name. |
Import | Imports a set of expressions to the expression store from a file. |
NewExpression | Creates a new ADODB26Lib.Recordset object that contains an empty expression. |
Query | Queries for a list of expressions based on one or more criteria. |
RenameExpression | Renames an existing expression. |
SaveExpression | Saves a new or changed expression to the expression store. |
Remarks
The connection string to a valid expression store must be stored using the Connect method before calling any other method of the ExpressionStore object.
An ExpressionStore object is internally created when the Connect method of an ExpressionEval object is invoked.
Many of the ExpressionStore methods use a Recordset object to store an expression. For more information, see Expression Recordset.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Targeting
Platforms: Windows 2000, Windows Server 2003
Assembly: exprarchlib (in exprarchlib)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.