Share via


ExpressionEvaluator Constructor

Initializes a new instance of the ExpressionEvaluator class that runs against the expression store in the SQL database given by the connection string.

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

Syntax

'Declaration
Public Sub New ( _
    connectionString As String, _
    debugContext As DebugContext _
)
'Usage
Dim connectionString As String
Dim debugContext As DebugContext

Dim instance As New ExpressionEvaluator(connectionString, _
    debugContext)
public ExpressionEvaluator(
    string connectionString,
    DebugContext debugContext
)
public:
ExpressionEvaluator(
    String^ connectionString, 
    DebugContext^ debugContext
)
public function ExpressionEvaluator(
    connectionString : String, 
    debugContext : DebugContext
)

Parameters

  • connectionString
    Type: System..::.String
    ADO connection string. May not be nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Use this object to evaluate one or more expressions against a specified context. In addition, use this object to parse and evaluate user-defined expressions written as Extensible Markup Language (XML) fragments.

Permissions

See Also

Reference

ExpressionEvaluator Class

ExpressionEvaluator Members

Microsoft.CommerceServer.Runtime.Targeting Namespace