Udostępnij za pośrednictwem


AwardExpression Property

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

Gets or sets the expression reference that identifies what a user receives if he/she qualifies for the discount.

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

Syntax

'Declaration
Public Property AwardExpression As ExpressionRef
'Usage
Dim instance As Discount
Dim value As ExpressionRef

value = instance.AwardExpression

instance.AwardExpression = value
public ExpressionRef AwardExpression { get; set; }
public:
property ExpressionRef^ AwardExpression {
    ExpressionRef^ get ();
    void set (ExpressionRef^ value);
}
public function get AwardExpression () : ExpressionRef
public function set AwardExpression (value : ExpressionRef)

Property Value

Type: Microsoft.CommerceServer.Marketing..::.ExpressionRef
An ExpressionRef that is either a LocalExpressionRef, a GlobalExpressionRef entity, or a AlwaysTrueExpressionRef entity.

Remarks

The default value for AwardExpression is AlwaysTrueExpressionRef

Permissions

See Also

Reference

Discount Class

Discount Members

Microsoft.CommerceServer.Marketing Namespace