Share via


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
ms989413.pubmethod(en-US,CS.70).gif RandomGenerationParameters()()() Initializes a new instance of the RandomGenerationParameters class.
ms989413.pubmethod(en-US,CS.70).gif RandomGenerationParameters(Int32) Constructs a new instance of the RandomGenerationParameters class with the given code length.
ms989413.pubmethod(en-US,CS.70).gif RandomGenerationParameters(Int32, String) Constructs a new instance of the RandomGenerationParameters class with the given code length and prefix.
ms989413.pubmethod(en-US,CS.70).gif 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

RandomGenerationParameters Members

Microsoft.CommerceServer.Marketing Namespace