Share via


Prefix Property

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

Gets or sets the prefix that will be added to the beginning of each random code generated in a batch.

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

Syntax

'Declaration
Public Property Prefix As String
'Usage
Dim instance As RandomGenerationParameters
Dim value As String

value = instance.Prefix

instance.Prefix = value
public string Prefix { get; set; }
public:
property String^ Prefix {
    String^ get ();
    void set (String^ value);
}
public function get Prefix () : String
public function set Prefix (value : String)

Property Value

Type: System..::.String
The prefix that will be added to the beginning of each random code generated.

Exceptions

Exception Condition
StringLengthValidationException

The prefix length must be less than or equal to 15 characters.

Remarks

Contains the RandomGenerationParameters prefix that will be added to the beginning of each random code generated in a batch.

Permissions

See Also

Reference

RandomGenerationParameters Class

RandomGenerationParameters Members

Microsoft.CommerceServer.Marketing Namespace