Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the maximum number of awards for the discount.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property MaxAwards As Integer
'Usage
Dim instance As Discount
Dim value As Integer
value = instance.MaxAwards
instance.MaxAwards = value
public int MaxAwards { get; set; }
public:
property int MaxAwards {
int get ();
void set (int value);
}
public function get MaxAwards () : int
public function set MaxAwards (value : int)
Property Value
Type: System..::.Int32
The maximum number of awards a user can receive from the discount. The default is 0.
Remarks
The MaxAwards value must be greater than or equal to zero.
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.