IncludeDiscountsWithEligibilityRequirements 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 have eligibility requirement expressions associated with them. The default value is true.
Namespace: Microsoft.CommerceServer.Runtime.Marketing
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property IncludeDiscountsWithEligibilityRequirements As Boolean
'Usage
Dim instance As DiscountCriteriaFilter
Dim value As Boolean
value = instance.IncludeDiscountsWithEligibilityRequirements
instance.IncludeDiscountsWithEligibilityRequirements = value
public bool IncludeDiscountsWithEligibilityRequirements { get; set; }
public:
property bool IncludeDiscountsWithEligibilityRequirements {
bool get ();
void set (bool value);
}
public function get IncludeDiscountsWithEligibilityRequirements () : boolean
public function set IncludeDiscountsWithEligibilityRequirements (value : boolean)
Property Value
Type: System..::.Boolean
true to indicate that the DiscountItemCollection should include discounts that have eligibility requirement expressions associated with them; otherwise false.
Remarks
A return value of true indicates that the filtered DiscountItemCollection should include discounts that have eligibility requirement expressions associated with them. A return value of false will cause any discounts with eligibility requirements to be excluded from the filtered DiscountItemCollection.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.