IDVBCMCampaignEdit/Info::prefix

Method Signatures

 

C\C++

HRESULT get_Prefix(

long lWait,

BSTR *bstrPrefix)

HRESULT put_Prefix(

long lWait,

BSTR bstrPrefix)

VB

Public Property Get/Put Prefix(

ByVal lWait As Long) As String

Sets/returns the prefix 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 strPrefix As String
    Dim strCampaign As String
    GetCampaignID(strCampaign)
    GetCampaignInfoObject(objCampaignInfo)
    strPrefix = objCampaignInfo.Prefix
End Sub

Parameter Name

Purpose

lWait

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

bstrPrefix

Prefix of the selected campaign