Поделиться через


PromoCodeDefinition Members

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

Contains the definition of a promotion code or set of promotion codes.

The PromoCodeDefinition type exposes the following members.

Methods

  Name Description
Aa151867.protmethod(en-US,CS.70).gif Dispose Releases the unmanaged resources used by this object and optionally releases the managed resources. (Inherited from MarketingServices.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.protmethod(en-US,CS.70).gif DoAppendExpressionToList Reserved for internal use only. (Inherited from MarketingServices.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.protmethod(en-US,CS.70).gif DoExecuteSearch Overloaded.
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.protmethod(en-US,CS.70).gif DoGetDisplaySize Overloaded.
Aa151867.protmethod(en-US,CS.70).gif DoGetDisplayTemplate Overloaded.
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.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.)
Aa151867.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa151867.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa151867.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa151867.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa151867.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa151867.protmethod(en-US,CS.70).gif OnAsynchronousUploadFailed Raises the OnAsynchronousUploadFailed event. (Inherited from MarketingServices.)
Aa151867.pubmethod(en-US,CS.70).gif Save Saves the current PromoCodeDefinition object to the database.
Aa151867.pubmethod(en-US,CS.70).gif ToString Converts a PromoCodeDefinition into a string that contains both the Id and Name. (Overrides Object..::.ToString()()().)

Top

Properties

  Name Description
Aa151867.pubproperty(en-US,CS.70).gif CodeGenerationStatus Gets a code describing the status of the last promotion generation task for this definition.
Aa151867.pubproperty(en-US,CS.70).gif CreatedDate Gets the date the current PromoCodeDefinition object was first created.
Aa151867.pubproperty(en-US,CS.70).gif HasChanges Gets a value indicating whether the PromoCodeDefinition object has been modified since it was created or loaded from the web service.
Aa151867.pubproperty(en-US,CS.70).gif Id Gets the unique identifier of the current PromoCodeDefinition object.
Aa151867.pubproperty(en-US,CS.70).gif LastModifiedBy Gets the name of the user that last modified the current PromoCodeDefinition object.
Aa151867.pubproperty(en-US,CS.70).gif LastModifiedDate Gets the date and time the current PromoCodeDefinition object was last modified.
Aa151867.pubproperty(en-US,CS.70).gif Name Gets or sets the name of the current PromoCodeDefinition object.
Aa151867.pubproperty(en-US,CS.70).gif NumberOfCodes Gets the number of promotion codes created for the current instance.
Aa151867.pubproperty(en-US,CS.70).gif PublicPromoCode Gets or sets the public promotion code string for Public promotion codes.
Aa151867.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.)
Aa151867.pubproperty(en-US,CS.70).gif UsageLimit Gets or sets the maximum number of times each promotion code created for the PromoCodeDefinition can be used.
Aa151867.pubproperty(en-US,CS.70).gif UsageOption Gets the usage option for the current PromoCodeDefintion object.

Top

See Also

Reference

PromoCodeDefinition Class

Microsoft.CommerceServer.Marketing Namespace