Поделиться через


Expression Class

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

Defines an Expression object.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class Expression _
    Inherits MarketingServices
'Usage
Dim instance As Expression
[ComVisibleAttribute(false)]
public sealed class Expression : MarketingServices
[ComVisibleAttribute(false)]
public ref class Expression sealed : public MarketingServices
public final class Expression extends MarketingServices

Remarks

An Expression is used to specify some condition that must be met. For example, an Expression can be used to specify which items a customer must have in the shopping basket for a discount to apply (ConditionExpression). It can also be used to specify which types of customers can receive a discount (EligibilityRequirements) and what the customer will receive as the award of the discount (AwardExpression).

An Expression can be local or global. A local expression is a discount-specific Expression since it is created or destroyed within the context of a discount. Global Expressions are shared Expressions since they can be used by any discount in the system.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Marketing..::.MarketingServices
    Microsoft.CommerceServer.Marketing..::.Expression

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Expression Members

Microsoft.CommerceServer.Marketing Namespace