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
Aa151863.pubmethod(en-US,CS.70).gif BeginExportPromoCodesForDefinition Overloaded. Asynchronously saves all promocodes in a given definition to a file.
Aa151863.pubmethod(en-US,CS.70).gif CancelExport Cancels the export of the specified file.
Aa151863.pubmethod(en-US,CS.70).gif CancelGeneration Cancels the last import/generation task started by the current caller for the given definition.
Aa151863.pubmethod(en-US,CS.70).gif Delete Deletes a PromoCodeDefinition object.
Aa151863.pubmethod(en-US,CS.70).gif DeleteBatch Deletes a batch of promocodes.
Aa151863.protmethod(en-US,CS.70).gif Dispose Releases the unmanaged resources used by this object and optionally releases the managed resources. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoAbortListOperation This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoActivateCampaign This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoActivateCampaignItem This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoAddUserToList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoAppendExpressionToList Reserved for internal use only. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoAppendLists This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoBeginExportList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoBeginExportPromoCodesForDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoCancelExport This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoCancelGeneration This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoCopyCampaignItem This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoCopyExpression This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoCreateListCopy This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteBatch This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteCampaign This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteCampaignEventType This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteCampaignItem This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteCustomer This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteDisplaySize This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteDisplayTemplate This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteExpression This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteIndustryCode This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeleteList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeletePageGroup This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoDeletePromoCodeDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoEndExportList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoEndExportPromoCodes This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoExecuteSearch Overloaded.
Aa151863.protmethod(en-US,CS.70).gif DoExportList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoExportPromoCodesForDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGeneratePreview This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGenerateRandomCodes This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllCampaignEventTypes This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllDisplaySizes This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllDisplayTemplates This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllExpressionCategories This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllIndustryCodes This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllLanguagesInUse This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllMailingLists This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllowedProfileDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAllPageGroups This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetAuthorizedTasks This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetBatchInfosForDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetCampaign This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetCampaignEventType This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetCampaignItem This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetCustomer This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetDefaultLanguage This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetDisplaySize Overloaded.
Aa151863.protmethod(en-US,CS.70).gif DoGetDisplayTemplate Overloaded.
Aa151863.protmethod(en-US,CS.70).gif DoGetExportStatus This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetExpression This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetIndustryCode This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetLastGenerationStatusForUser This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetListOperation This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetListOperationHistory This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetMailingList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetMaximumPromoCodeBatchSize This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetMostRecentListOperation This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetPageGroup This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetProfileDefinitions This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetPromoCodeDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetSearchableProperties This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetServiceVersion This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetSiteTerms This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoGetUserFromList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoImportPromoCodes This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoImportTargetUsers This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoImportToList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoIsSafeToExit This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoLookupPromoCodeDefinitionByCode This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoMoveCampaignItemToCampaign This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoMoveCampaignToCustomer This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewCampaign This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewCampaignEventType This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewCampaignItem This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewCustomer This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewDisplaySize This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewDisplayTemplate This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewExpression This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewPageGroup This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoNewPromoCodeDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoPrioritizeDiscount This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoRefreshCache This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoRemoveUserFromList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoRestoreCampaign This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoRestoreCampaignItem This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoRestoreCustomer This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoRevertPromoCodeRedemption This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveCampaign This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveCampaignEventType This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveCampaignItem This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveCustomer This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveDisplaySize This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveDisplayTemplate This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveExpression This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveExpressionCategories This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveIndustryCode This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSaveMailingList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSavePageGroup This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSavePromoCodeDefinition This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoSubtractLists This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoTestDirectMail This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoUpdateDiscountPriorities This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.protmethod(en-US,CS.70).gif DoUpdateUserInList This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from MarketingServices.)
Aa151863.pubmethod(en-US,CS.70).gif EndExportPromoCodes This method allow the caller to find out if any exceptions happened during export.
Aa151863.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa151863.pubmethod(en-US,CS.70).gif ExportPromoCodesForDefinition Overloaded. Synchronously saves all promocodes in a given definition to a file.
Aa151863.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa151863.pubmethod(en-US,CS.70).gif GenerateRandomCodes Generates promotion codes for the specified PromoCodeDefinition.
Aa151863.pubmethod(en-US,CS.70).gif GetBatchInfosForDefinition Returns information about all batches in the specified definition.
Aa151863.pubmethod(en-US,CS.70).gif GetExportStatus Gets the current status of a promotion code export operation.
Aa151863.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa151863.pubmethod(en-US,CS.70).gif GetLastGenerationStatusForUser Get status of the last import/generation task started by the current caller for the given definition.
Aa151863.pubmethod(en-US,CS.70).gif GetPromoCodeDefinition Retrieves an existing PromoCodeDefinition object, specified by the unique identifier.
Aa151863.pubmethod(en-US,CS.70).gif GetSearchClauseFactory Creates a new search clause builder for PromoCodeDefinition objects.
Aa151863.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa151863.pubmethod(en-US,CS.70).gif ImportCodes Imports externally generated promocodes with optional target users.
Aa151863.pubmethod(en-US,CS.70).gif ImportUsersAndGenerateCodes Imports target users and generates a new promocode for each of them.
Aa151863.pubmethod(en-US,CS.70).gif IsSafeToExit Indicates whether exiting the application would be safe or it will result in terminating of some promocode operations.
Aa151863.pubmethod(en-US,CS.70).gif IsTargetUsersOnlyFile Parses the specified file to find out if the file contains promocodes or only target users.
Aa151863.pubmethod(en-US,CS.70).gif LookupPromoCodeDefinitionByCode Returns the PromoCodeDefinition object that corresponds to the specified promotion code.
Aa151863.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa151863.pubmethod(en-US,CS.70).gif NewPromoCodeDefinition Overloaded. Creates a new PromoCodeDefinition object.
Aa151863.protmethod(en-US,CS.70).gif OnAsynchronousUploadFailed Raises the OnAsynchronousUploadFailed event. (Inherited from MarketingServices.)
Aa151863.pubmethod(en-US,CS.70).gif 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.
Aa151863.pubmethod(en-US,CS.70).gif Search Overloaded. Executes a unified search for PromoCodeDefinition objects.
Aa151863.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa151863.pubproperty(en-US,CS.70).gif MaximumPromoCodeBatchSize Gets the maximum number of promo codes that can be generated or imported in a single batch.
Aa151863.pubproperty(en-US,CS.70).gif Parent Gets the parent Marketing System object of the PromoCodeDefinitionManager object.
Aa151863.protproperty(en-US,CS.70).gif ServiceAgent Gets the ServiceAgent implementation, when running in Agent mode, else returns nullNothingnullptra null reference (Nothing in Visual Basic). (Inherited from MarketingServices.)

Top

See Also

Reference

PromoCodeDefinitionManager Class

Microsoft.CommerceServer.Marketing Namespace