Example Code for Expression Objects
This section provides detailed examples of how to use the expression objects exposed by the Expression Evaluation Engine. The code samples are written in either Microsoft Visual Basic, Microsoft Visual Basic Scripting Edition (VBScript), or Active Server Pages (ASP). The samples do not show error checking or certain other formalities required for functional code.
This section contains:
Code to Connect to the Expression Store. Describes how to connect to, and disconnect from, the Expression Store.
Code to Create an Evaluation Context. Describes how to create an evaluation context that contains the data for evaluating an expression against.
Code to Evaluate an Expression Stored as an XML Fragment. Describes how to evaluate an expression stored as an XML fragment.
Code to Create a New Expression. Describes how to create a new expression.
Code to Manipulate Expressions. Describes how to retrieve or delete expressions from the Expression Store, rename an expression, or translate between expression IDs and expression names.
Code to Evaluate a Single Expression. Describes how to evaluate a single expression.
Code to Evaluate Groups of Expressions. Describes how to create a stored evaluation context and evaluate groups of expressions against this common context.
Code to Import and Export Expressions. Describes how to import and export expressions.