EMFileInfoAddCampaignFile Method
|
Alterian Email Manager 6.2.3 SDK Help File
Method to add one file to a specific Campaign.
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static void AddCampaignFile(
DMToken userToken,
int CampaignId,
string FileName,
byte[] Data,
bool Decompress,
string alertFile
)
Public Shared Sub AddCampaignFile (
userToken As DMToken,
CampaignId As Integer,
FileName As String,
Data As Byte(),
Decompress As Boolean,
alertFile As String
)
public:
static void AddCampaignFile(
DMToken^ userToken,
int CampaignId,
String^ FileName,
array<unsigned char>^ Data,
bool Decompress,
String^ alertFile
)
static member AddCampaignFile :
userToken : DMToken *
CampaignId : int *
FileName : string *
Data : byte[] *
Decompress : bool *
alertFile : string -> unit
DMLibrary.EMFileInfo.AddCampaignFile = function(userToken, CampaignId, FileName, Data, Decompress, alertFile);
Parameters
- userToken
- Type: DMToken
EM authentication token. - CampaignId
- Type: SystemInt32
Campaign Id - FileName
- Type: SystemString
File Name - Data
- Type: SystemByte
The file, transformed into a byte array. - Decompress
- Type: SystemBoolean
A boolean indicating whether to decompress the file if it is a zip file. If the file is not a zip file, it will do nothing. - alertFile
- Type: SystemString
Path of the alert file
See Also