Partilhar via


RandomGenerationParameters Class

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

Class that specifies the parameters to a promotion code generation batch that uses the GenerateRandomCodes method.

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

Syntax

'Declaration
Public Class RandomGenerationParameters
'Usage
Dim instance As RandomGenerationParameters
public class RandomGenerationParameters
public ref class RandomGenerationParameters
public class RandomGenerationParameters

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.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Marketing..::.RandomGenerationParameters

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RandomGenerationParameters Members

Microsoft.CommerceServer.Marketing Namespace