EMVariableImportVariable Method

Alterian Email Manager 6.2.3 SDK Help File
Import a Variable from one Campaign to another.

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public static int ImportVariable(
	DMToken userToken,
	int campaignId,
	int 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: Int32
The imported Variable's Id.
Remarks
Will 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