IDVBCMClient::campaignedit
Method Signatures |
|
C\C++ |
HRESULT get_CampaignEdit( BSTR bstrCampaignID, BSTR bstrConfirmerName, BSTR bstrConfirmerPassword, BSTR bstrVerifierName, BSTR bstrVerifierPassword, long lWait, LPVARIANT vCampaignEdit) |
VB |
Public Property Get CampaignEdit( ByVal bstrCampaignID As String, ByVal bstrConfirmerName As String, ByVal bstrConfirmerPassword As String, ByVal bstrVerifierName As String, ByVal bstrVerifierPassword As String, ByVal lWait As Long) As Variant |
This property returns a reference to a CampaignEdit object, which allows a client to manipulate both read and write information about a specific campaign within the Campaign Manager Server's list of campaigns.
Return Values
S_OK - success
else - failed
Memory Allocation
The caller is responsible for releasing its reference to the vCampaignEdit object.
Visual Basic Usage Example
Private Sub Button1_Click()
Dim objCampaignEdit As DVBCMCampaignEdit
Dim szCampaignID As String
Call GetCampaignID(szCampaignID)
Set objCampaignEdit = DVBCMClient1.CampaignEdit(szCampaignID)
Call UseCampaignInfoObject(objCampaignInfo)
End Sub
Parameter Name |
Purpose |
|---|---|
bstrCampaignID |
The Campaign ID for the campaign for which the campaign info object will be retrieved |
bstrConfirmerName |
Windows username of the confirmer. Optional (but may be required depending on configured actions on server). |
bstrConfirmerPassword |
Windows user password of the confirmer. Optional (but may be required depending on configured actions on server). |
bstrVerifierName |
Windows username of the verifier. Optional (but may be required depending on configured actions on server). |
bstrVerifierPassword |
Windows user password of the verifier. Optional (but may be required depending on configured actions on server). |
lWait |
Optional. Default = 30000. Time to wait for a server resource in milliseconds. |
vCampaignEdit |
Variant with the reference to the campaign edit object. |