Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Permanently removes a CampaignEventType from the marketing system.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub DeleteCampaignEventType ( _
campaignEventTypeId As Integer _
)
'Usage
Dim instance As CampaignManager
Dim campaignEventTypeId As Integer
instance.DeleteCampaignEventType(campaignEventTypeId)
public void DeleteCampaignEventType(
int campaignEventTypeId
)
public:
void DeleteCampaignEventType(
int campaignEventTypeId
)
public function DeleteCampaignEventType(
campaignEventTypeId : int
)
Parameters
- campaignEventTypeId
Type: System..::.Int32
Id of the CampaignEventType to remove.
Exceptions
Exception | Condition |
---|---|
EntityDoesNotExistException | There is no CampaignEventType with specified Id. |
EntityReferencedException | The specified object is used by another campaign item. |
Remarks
Deletes the specified CampaignEventType.
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.