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
- promoCodeDefinitionId
Type: System..::.Int32
Reserved for internal use only.
- batchName
Type: System..::.String
Reserved for internal use only.
- numberOfCodes
Type: System..::.Int32
Reserved for internal use only.
- generationParameters
Type: Microsoft.CommerceServer.Marketing..::.RandomGenerationParameters
Reserved for internal use only.
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
- 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.