PromoCodeDefinitionManager Members
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Manages storage and retrieval of PromoCodeDefinition objects. This class cannot be inherited.
The PromoCodeDefinitionManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
BeginExportPromoCodesForDefinition | Overloaded. Asynchronously saves all promocodes in a given definition to a file. | |
CancelExport | Cancels the export of the specified file. | |
CancelGeneration | Cancels the last import/generation task started by the current caller for the given definition. | |
Delete | Deletes a PromoCodeDefinition object. | |
DeleteBatch | Deletes a batch of promocodes. | |
Dispose | Releases the unmanaged resources used by this object and optionally releases the managed resources. (Inherited from MarketingServices.) | |
DoAbortListOperation | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoActivateCampaign | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoActivateCampaignItem | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoAddUserToList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoAppendExpressionToList | Reserved for internal use only. (Inherited from MarketingServices.) | |
DoAppendLists | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoBeginExportList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoBeginExportPromoCodesForDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoCancelExport | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoCancelGeneration | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoCopyCampaignItem | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoCopyExpression | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoCreateListCopy | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteBatch | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteCampaign | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteCampaignEventType | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteCampaignItem | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteCustomer | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteDisplaySize | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteDisplayTemplate | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteExpression | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteIndustryCode | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeleteList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeletePageGroup | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoDeletePromoCodeDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoEndExportList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoEndExportPromoCodes | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoExecuteSearch | Overloaded. | |
DoExportList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoExportPromoCodesForDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGeneratePreview | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGenerateRandomCodes | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllCampaignEventTypes | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllDisplaySizes | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllDisplayTemplates | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllExpressionCategories | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllIndustryCodes | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllLanguagesInUse | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllMailingLists | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllowedProfileDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAllPageGroups | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetAuthorizedTasks | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetBatchInfosForDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetCampaign | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetCampaignEventType | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetCampaignItem | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetCustomer | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetDefaultLanguage | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetDisplaySize | Overloaded. | |
DoGetDisplayTemplate | Overloaded. | |
DoGetExportStatus | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetExpression | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetIndustryCode | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetLastGenerationStatusForUser | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetListOperation | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetListOperationHistory | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetMailingList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetMaximumPromoCodeBatchSize | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetMostRecentListOperation | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetPageGroup | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetProfileDefinitions | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetPromoCodeDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetSearchableProperties | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetServiceVersion | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetSiteTerms | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoGetUserFromList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoImportPromoCodes | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoImportTargetUsers | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoImportToList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoIsSafeToExit | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoLookupPromoCodeDefinitionByCode | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoMoveCampaignItemToCampaign | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoMoveCampaignToCustomer | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewCampaign | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewCampaignEventType | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewCampaignItem | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewCustomer | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewDisplaySize | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewDisplayTemplate | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewExpression | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewPageGroup | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoNewPromoCodeDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoPrioritizeDiscount | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoRefreshCache | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoRemoveUserFromList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoRestoreCampaign | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoRestoreCampaignItem | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoRestoreCustomer | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoRevertPromoCodeRedemption | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveCampaign | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveCampaignEventType | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveCampaignItem | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveCustomer | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveDisplaySize | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveDisplayTemplate | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveExpression | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveExpressionCategories | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveIndustryCode | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSaveMailingList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSavePageGroup | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSavePromoCodeDefinition | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoSubtractLists | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoTestDirectMail | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoUpdateDiscountPriorities | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
DoUpdateUserInList | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.) | |
EndExportPromoCodes | This method allow the caller to find out if any exceptions happened during export. | |
Equals | (Inherited from Object.) | |
ExportPromoCodesForDefinition | Overloaded. Synchronously saves all promocodes in a given definition to a file. | |
Finalize | (Inherited from Object.) | |
GenerateRandomCodes | Generates promotion codes for the specified PromoCodeDefinition. | |
GetBatchInfosForDefinition | Returns information about all batches in the specified definition. | |
GetExportStatus | Gets the current status of a promotion code export operation. | |
GetHashCode | (Inherited from Object.) | |
GetLastGenerationStatusForUser | Get status of the last import/generation task started by the current caller for the given definition. | |
GetPromoCodeDefinition | Retrieves an existing PromoCodeDefinition object, specified by the unique identifier. | |
GetSearchClauseFactory | Creates a new search clause builder for PromoCodeDefinition objects. | |
GetType | (Inherited from Object.) | |
ImportCodes | Imports externally generated promocodes with optional target users. | |
ImportUsersAndGenerateCodes | Imports target users and generates a new promocode for each of them. | |
IsSafeToExit | Indicates whether exiting the application would be safe or it will result in terminating of some promocode operations. | |
IsTargetUsersOnlyFile | Parses the specified file to find out if the file contains promocodes or only target users. | |
LookupPromoCodeDefinitionByCode | Returns the PromoCodeDefinition object that corresponds to the specified promotion code. | |
MemberwiseClone | (Inherited from Object.) | |
NewPromoCodeDefinition | Overloaded. Creates a new PromoCodeDefinition object. | |
OnAsynchronousUploadFailed | Raises the OnAsynchronousUploadFailed event. (Inherited from MarketingServices.) | |
RevertPromoCodeRedemption | This method can be used if an order or part of an order is canceled to reflect the change in the promo code history and usage counts. | |
Search | Overloaded. Executes a unified search for PromoCodeDefinition objects. | |
ToString | (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
MaximumPromoCodeBatchSize | Gets the maximum number of promo codes that can be generated or imported in a single batch. | |
Parent | Gets the parent Marketing System object of the PromoCodeDefinitionManager object. | |
ServiceAgent | Gets the ServiceAgent implementation, when running in Agent mode, else returns nullNothingnullptra null reference (Nothing in Visual Basic). (Inherited from MarketingServices.) |
Top