RandomGenerationParameters Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the RandomGenerationParameters class.
Overload List
Name | Description | |
---|---|---|
RandomGenerationParameters()()() | Initializes a new instance of the RandomGenerationParameters class. | |
RandomGenerationParameters(Int32) | Constructs a new instance of the RandomGenerationParameters class with the given code length. | |
RandomGenerationParameters(Int32, String) | Constructs a new instance of the RandomGenerationParameters class with the given code length and prefix. | |
RandomGenerationParameters(Int32, String, String) | Constructs a new instance of the RandomGenerationParameters class with the given code length, prefix, and suffix. |
Top
Remarks
Randomly generates 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.
See Also
Reference
RandomGenerationParameters Class