ExpressionEvaluator Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

NOTE: This API is now obsolete.

(Obsolete) Gets the instance of ExpressionEvaluator that has been configured to load expressions from the legacy expression store (Profiles resource).

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

Syntax

'Declaration
<ObsoleteAttribute("This property returns an ExpressionEvaluator that operates on the legacy Profiles Expression Store. Consider using the MarketingExpressionEvaluator property that operates on the Marketing Expression Store.")> _
Public Shared ReadOnly Property ExpressionEvaluator As ExpressionEvaluator
'Usage
Dim value As ExpressionEvaluator

value = CommerceExpressionModule.ExpressionEvaluator
[ObsoleteAttribute("This property returns an ExpressionEvaluator that operates on the legacy Profiles Expression Store. Consider using the MarketingExpressionEvaluator property that operates on the Marketing Expression Store.")]
public static ExpressionEvaluator ExpressionEvaluator { get; }
[ObsoleteAttribute(L"This property returns an ExpressionEvaluator that operates on the legacy Profiles Expression Store. Consider using the MarketingExpressionEvaluator property that operates on the Marketing Expression Store.")]
public:
static property ExpressionEvaluator^ ExpressionEvaluator {
    ExpressionEvaluator^ get ();
}
public static function get ExpressionEvaluator () : ExpressionEvaluator

Property Value

Type: Microsoft.CommerceServer.Runtime.Targeting..::.ExpressionEvaluator
The ExpressionEvaluator that has been configured to load expressions from the legacy expression store.

Remarks

Creates the instance of ExpressionEvaluator on first access. This method has a dependency on the existence of the Profiles (Biz Data Service) resource. If the resource doesn't exist, then nullNothingnullptra null reference (Nothing in Visual Basic) is returned.

ASP.Net pages can reference this via the CommerceContext.Current.TargetingSystem.ExpressionEvaluator property.

This property is obsolete. It returns an ExpressionEvaluator that operates on the legacy Profiles Expression Store. Consider using the MarketingExpressionEvaluator property that operates on the Marketing Expression Store.

Permissions

See Also

Reference

CommerceExpressionModule Class

CommerceExpressionModule Members

Microsoft.CommerceServer.Runtime.Targeting Namespace