RandomGenerationParameters Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the RandomGenerationParameters class.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New RandomGenerationParameters()
public RandomGenerationParameters()
public:
RandomGenerationParameters()
public function 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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RandomGenerationParameters Class
RandomGenerationParameters Members