Share via


DeleteCampaignEventType Method

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

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

See Also

Reference

CampaignManager Class

CampaignManager Members

Microsoft.CommerceServer.Marketing Namespace