Share via


GenerationMethod Property

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

Gets or sets the PromoCodeGenerationMethod that was used to fill the current instance started with promo codes.

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

Syntax

'Declaration
Public Property GenerationMethod As PromoCodeGenerationMethod
'Usage
Dim instance As BatchInfo
Dim value As PromoCodeGenerationMethod

value = instance.GenerationMethod

instance.GenerationMethod = value
public PromoCodeGenerationMethod GenerationMethod { get; set; }
public:
property PromoCodeGenerationMethod GenerationMethod {
    PromoCodeGenerationMethod get ();
    void set (PromoCodeGenerationMethod value);
}
public function get GenerationMethod () : PromoCodeGenerationMethod
public function set GenerationMethod (value : PromoCodeGenerationMethod)

Property Value

Type: Microsoft.CommerceServer.Marketing..::.PromoCodeGenerationMethod
The PromoCodeGenerationMethod that filled the BatchInfo object.

Remarks

Enumerates the different methods supported for promotion code generation.

The enumeration value shall be one of the following:

This property will be 0 (an invalid enumeration value) when exporting promotion codes. Default is 0.

Permissions

See Also

Reference

BatchInfo Class

BatchInfo Members

Microsoft.CommerceServer.Marketing Namespace