EMEventImportEvent Method (SqlConnection, SqlTransaction, Int32, Int32)

Alterian Email Manager 6.2.3 SDK Help File
Import an Event from one Campaign to another.

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

Syntax
public static int ImportEvent(
	SqlConnection connection,
	SqlTransaction transaction,
	int campaignId,
	int eventId
)

Parameters

connection
Type: System.Data.SqlClientSqlConnection
Sql Connection
transaction
Type: System.Data.SqlClientSqlTransaction
campaignId
Type: SystemInt32
The Id of the Campaign to receive the Event.
eventId
Type: SystemInt32
The Id of the Event.

Return Value

Type: Int32
The imported Event's Id.
Remarks
Will throw an exception if the Event is not found or if the Event is a system Event.
See Also