PromoCodeGenerationMethod Enumeration
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Specifies the different methods supported for promotion code generation.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
<ComVisibleAttribute(True)> _
Public Enumeration PromoCodeGenerationMethod
'Usage
Dim instance As PromoCodeGenerationMethod
[ComVisibleAttribute(true)]
public enum PromoCodeGenerationMethod
[ComVisibleAttribute(true)]
public enum class PromoCodeGenerationMethod
public enum PromoCodeGenerationMethod
Members
Member name | Description | |
---|---|---|
GenerateRandomCodes | Randomly generate promotion codes. The random codes are created using characters from a user configurable dictionary file. The default dictionary file contains the following values: 1234567890BCDFGHJKLMNPQRSTVWXYZ#. The user has to specify the length of the random codes. In addition, user specified prefix and suffix are attached to the beginning and end of the random code. | |
ImportCodes | Import promocodes with optional associated targetUsers from file. | |
ImportUsersAndGenerateCodes | Import targetUsers from file and generate random promocodes for them. |
Remarks
The method of promo code generation to utilize.
This enumeration is COM visible only to support the Promo Code Generator COM+ service.