ExpressionStore Object [C++]

Commerce Server 2002

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.

ProgID:  Commerce.ExpressionStore (Externally creatable)
COM Class Name:  ExpressionStore
Type Library Name:  Microsoft Commerce 2002 Expression System Type Library
DLL Name:  exprarch.dll
Threading Model:  Both
[C++]
COM Interface Name:  IExpressionStore
Interface ID Constant:  IID_IExpressionStore
Header File:  ExprArchDLL.h, exprarch.h, mspu_guids.h

[C++] In C++, use the IExpressionStore interface to access the methods of the ExpressionStore object.

Methods

[C++]
MethodDescription
ConnectValidates and stores the connection string to the specified expression store.
DeleteExpressionDeletes an expression from the expression store.
DisconnectSets the connection string to an empty string.
ExportExports expressions from the expression store to a file.
GetAllExprsRetrieves all expressions from the expression store.
GetExpressionRetrieves an expression from the expression store.
GetExprIDTranslates an expression name into its corresponding expression ID.
GetExprNameTranslates an expression ID into its corresponding expression name.
ImportImports a set of expressions to the expression store from a file.
NewExpressionCreates a new ADO Recordset object that contains an empty expression.
QueryQueries for a list of expressions based on one or more criteria.
RenameExpressionRenames an existing expression.
SaveExpressionSaves a new or changed expression to the expression store.
[Visual Basic]
MethodDescription
ConnectValidates and stores the connection string to the specified expression store.
DeleteExpressionDeletes an expression from the expression store.
DisconnectSets the connection string to an empty string.
ExportExports expressions from the expression store to a file.
GetAllExprsRetrieves all expressions from the expression store.
GetExpressionRetrieves an expression from the expression store.
GetExprIDTranslates an expression name into its corresponding expression ID.
GetExprNameTranslates an expression ID into its corresponding expression name.
ImportImports a set of expressions to the expression store from a file.
NewExpressionCreates a new ADO Recordset object that contains an empty expression.
QueryQueries for a list of expressions based on one or more criteria.
RenameExpressionRenames an existing expression.
SaveExpressionSaves 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.

[C++] Many of the methods in ExpressionStore class use the Expression recordset object. For more information, see Expression Recordset.

[Visual Basic] Many of the methods in ExpressionStore class use the Expression recordset object. For more information, see Expression Recordset.

See Also

[C++] Targeting Objects

[C++] Expression XML Structures

[C++] ExpressionEval Object

[Visual Basic] Targeting Objects

[Visual Basic] Expression XML Structures

[Visual Basic] ExpressionEval Object

Copyright © 2005 Microsoft Corporation.
All rights reserved.
Show: