IDVBCMCampaignEdit/Info::maximumactivebatches

Method Signatures

 

C\C++

HRESULT get_MaximumActiveBatches(

long lWait,

long *lMaximumActiveBatches)

HRESULT put_MaximumActiveBatches(

long lWait,

long *lMaximumActiveBatches)

VB

Public Property Get/Put MaximumActiveBatches(

ByVal lWait As Long) As Long

Sets/returns the max active batches for the campaign

Return Values

S_OK - success

else - failed

Memory Allocation

none

Visual Basic Usage Example

Private Sub Button1_Click()
    Dim objCampaignInfo As DVBCMCampaignInfo
    Dim lMaximumActiveBatches As Long
    Dim strCampaign As String
    GetCampaignID(strCampaign)
    GetCampaignInfoObject(objCampaignInfo)
    lMaximumActiveBatches = objCampaignInfo.MaximumActiveBatches
End Sub

Parameter Name

Purpose

lWait

Optional. Default = 30000. Time to wait for a server resource in milliseconds.

lMaximumActiveBatches

Maximum number of active batches for the campaign.