AutoAddAward Property

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

Gets or sets the flag indicating if the discount award is automatically applied.

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

Syntax

'Declaration
Public Property AutoAddAward As Boolean
'Usage
Dim instance As Discount
Dim value As Boolean

value = instance.AutoAddAward

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

Property Value

Type: System..::.Boolean
true if the award is automatically applied; otherwise false. The default is false.

Remarks

Returns a flag specifying whether the award should be auto-added or not.

Permissions

See Also

Reference

Discount Class

Discount Members

Microsoft.CommerceServer.Marketing Namespace