IDVBCMCampaignEdit::entersetupmode
Note:
There is not an equivalent Info method.
Method Signatures |
|
C\C++ |
HRESULT EnterSetupMode( long lWait) |
VB |
Public Sub EnterSetupMode( ByVal lWait As Long) |
This method is used to place the campaign into the DEFINING state. This state allows the campaign's properties to be modified. The campaign must not be ACTIVE or locked (except by the caller) for this method to succeed.
Return Values
S_OK - success
else - failed
Memory Allocation
none
Visual Basic Usage Example
Private Sub Button1_Click()
Dim objCampaignEdit As DVBCMCampaignEdit
Call GetCampaignEditObject(objCampaignEdit)
Call objCampaignEdit.EnterSetupMode()
Call ChangeCampaignProperties(objCampaignEdit)
Call objCampaignEdit.SetupComplete()
End Sub
Parameter Name |
Purpose |
|---|---|
lWait |
Optional. Default = 30000. Time to wait for a server resource in milliseconds. |