DoGenerateRandomCodes Method

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Protected Function DoGenerateRandomCodes ( _
    promoCodeDefinitionId As Integer, _
    batchName As String, _
    numberOfCodes As Integer, _
    generationParameters As RandomGenerationParameters _
) As Guid
'Usage
Dim promoCodeDefinitionId As Integer
Dim batchName As String
Dim numberOfCodes As Integer
Dim generationParameters As RandomGenerationParameters
Dim returnValue As Guid

returnValue = Me.DoGenerateRandomCodes(promoCodeDefinitionId, _
    batchName, numberOfCodes, generationParameters)
protected Guid DoGenerateRandomCodes(
    int promoCodeDefinitionId,
    string batchName,
    int numberOfCodes,
    RandomGenerationParameters generationParameters
)
protected:
Guid DoGenerateRandomCodes(
    int promoCodeDefinitionId, 
    String^ batchName, 
    int numberOfCodes, 
    RandomGenerationParameters^ generationParameters
)
protected function DoGenerateRandomCodes(
    promoCodeDefinitionId : int, 
    batchName : String, 
    numberOfCodes : int, 
    generationParameters : RandomGenerationParameters
) : Guid

Parameters

Return Value

Type: System..::.Guid
Reserved for internal use only.

Remarks

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Permissions

See Also

Reference

MarketingServices Class

MarketingServices Members

Microsoft.CommerceServer.Marketing Namespace