_IDVBCMClientEvents::oncampaignbatchdeleted

Method Signatures

 

C\C++

void OnCampaignBatchDeleted(

BSTR bstrCampaignID,

BSTR bstrBatchID,

BSTR bstrDeletedBy,

BSTR bstrDateDeleted)

VB

Private Sub DVBCMClient1_OnCampaignBatchDeleted(

ByVal bstrCampaignID As String,

ByVal bstrBatchID As String,

ByVal bstrDeletedBy As String,

ByVal bstrDateDeleted As String)

This event is fired whenever a batch in a given campaign has been deleted from the campaign.

Return Values

none

Memory Allocation

none

Visual Basic Usage Example

Private Sub DVBCMClient1_OnCampaignBatchDeleted(ByVal bstrCampaignID _
        As String, ByVal bstrBatchID As String, ByVal bstrDeletedBy _
        As String, ByVal bstrDateDeleted As String)
    Call TellUserAboutDeletedBatch(bstrCampaignId, bstrBatchID)
End Sub

Parameter Name

Purpose

bstrCampaignID

The parent campaign of the batch that was deleted.

bstrBatchID

The user defined Batch ID of the deleted batch.

bstrDeletedBy

The username of the deletor of the batch.

bstrDateDeleted

A string representation of the timestamp corresponding to when the batch was deleted.