_IDVBCMClientEvents::oncampaignbatchremoved

Method Signatures

 

C\C++

void OnCampaignBatchRemoved(

BSTR bstrCampaignID,

BSTR bstrBatchID,

BSTR bstrRemovedBy,

BSTR bstrStatusMsg,

BSTR bstrDateRemoved)

VB

Private Sub DVBCMClient1_OnCampaignBatchRemoved(

ByVal bstrCampaignID As String,

ByVal bstrBatchID As String,

ByVal bstrStatusMsg As String

ByVal bstrRemovedBy As String,

ByVal bstrDateRemoved As String)

This event is fired whenever a batch in a given campaign has been removed from the Batch Executive.

Return Values

none

Memory Allocation

none

Visual Basic Usage Example

Private Sub DVBCMClient1_OnCampaignBatchRemoved(ByVal bstrCampaignID _
        As String, ByVal bstrBatchID As String, ByVal bstrStatusMsg _
        As String, ByVal bstrRemovedBy As String, ByVal bstrDateRemoved _
        As String)
    Call TellUserAboutRemovedBatch(bstrCampaignID, bstrBatchID, _
            bstrStatusMsg)
End Sub

Parameter Name

Purpose

bstrCampaignID

The parent campaign of the batch that was removed.

bstrBatchID

The user defined Batch ID of the removed batch.

bstrRemovedBy

The username of the remover of the batch.

bstrStatusMsg

Success if batch is removed, otherwise error message for failure.

dRemoved

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