Jaa


FilterOnAward Property

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

Gets or sets a value that indicates if the filtered DiscountItemCollection should include discounts that are an award of a discount in the cache. The default value is true.

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

Syntax

'Declaration
Public Property FilterOnAward As Boolean
'Usage
Dim instance As DiscountCriteriaFilter
Dim value As Boolean

value = instance.FilterOnAward

instance.FilterOnAward = value
public bool FilterOnAward { get; set; }
public:
property bool FilterOnAward {
    bool get ();
    void set (bool value);
}
public function get FilterOnAward () : boolean
public function set FilterOnAward (value : boolean)

Property Value

Type: System..::.Boolean
true to indicate that the DiscountItemCollection should include discounts that are an award of a discount in the cache; otherwise false.

Remarks

A return value of true indicates that if the Product (or Category) specified in the filter command is an award of a discount in the cache and the discount will be included in the filtered DiscountItemCollection. A return value of false will make the discount filtering algorithm ignore the discount award when filtering discounts.

Permissions

See Also

Reference

DiscountCriteriaFilter Class

DiscountCriteriaFilter Members

Microsoft.CommerceServer.Runtime.Marketing Namespace