IDVBCMCampaignEdit2::getexecutionmode2

Method Signatures

 

C\C++

HRESULT GetExecutionMode2(

VARIANT_BOOL *bIsManual,

VARIANT_BOOL *bIsAutoRelease,

VARIANT_BOOL *bIsAutoStart,

long lWait)

VB

Public Sub GetExecutionMode2(

ByRef bIsManual As Boolean,

ByRef bIsAutoRelease As Boolean,

ByRef bIsAutoStart As Boolean,

ByVal lWait As Long)

This method is used to determine the current execution mode of a specific campaign. This method is accessible from both the edit and info objects.

Return Values

S_OK - success

else - failed

Memory Allocation

none

Visual Basic Usage Example

Private Sub Button1_Click()
    Dim objCampaignEdit As IDVBCMCampaignEdit2
    Dim bManual As Boolean, bIsAutoStart As Boolean, _
            bIsAutoRelease As Boolean
    Call GetCampaignEditObject(objCampaignEdit)
    Call objCampaignEdit.GetExecutionMode2(bIsManual, bIsAutoRelease, _
            bIsAutoStart)
End Sub 

Parameter Name

Purpose

bIsManual

Whether all batch control is done manually, through operator actions.

bIsAutoRelease

Whether batches will be automatically sent to the Exectuive.

bIsAutoStart

Whether batches will be automatically sent and started on the Batch Exectuive.

lWait

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