Jaa


IncludeInactiveDiscounts 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 not currently active. The default value is false.

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

Syntax

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

value = instance.IncludeInactiveDiscounts

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

Property Value

Type: System..::.Boolean
true to indicate that the DiscountItemCollection should include discounts that are currently inactive; otherwise false.

Remarks

A return value of true indicates that the filtered DiscountItemCollection should include discounts that are not currently active. A value of false will cause any inactive discounts in the cache to be excluded from the filtered DiscountItemCollection.

Permissions

See Also

Reference

DiscountCriteriaFilter Class

DiscountCriteriaFilter Members

Microsoft.CommerceServer.Runtime.Marketing Namespace