EMVariableImportVariable Method
|
Alterian Email Manager 6.2.3 SDK Help File
Import a Variable from one Campaign to another.
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static int ImportVariable(
DMToken userToken,
int campaignId,
int variableId
)
Public Shared Function ImportVariable (
userToken As DMToken,
campaignId As Integer,
variableId As Integer
) As Integer
public:
static int ImportVariable(
DMToken^ userToken,
int campaignId,
int variableId
)
static member ImportVariable :
userToken : DMToken *
campaignId : int *
variableId : int -> int
DMLibrary.EMVariable.ImportVariable = function(userToken, campaignId, variableId);
Parameters
- userToken
- Type: DMToken
Authentication Token. - campaignId
- Type: SystemInt32
The Id of the Campaign to receive the Variable. - variableId
- Type: SystemInt32
The Id of the Variable.
Return Value
Type:
Int32The imported Variable's Id.
RemarksWill throw an exception if the name is already in use in the Campaign, if the variable is not found, or if the variable is a system variable.
See Also