EMEventImportEvent Method (SqlConnection, SqlTransaction, Int32, Int32)
|
Alterian Email Manager 6.2.3 SDK Help File
Import an Event from one Campaign to another.
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static int ImportEvent(
SqlConnection connection,
SqlTransaction transaction,
int campaignId,
int eventId
)
Public Shared Function ImportEvent (
connection As SqlConnection,
transaction As SqlTransaction,
campaignId As Integer,
eventId As Integer
) As Integer
public:
static int ImportEvent(
SqlConnection^ connection,
SqlTransaction^ transaction,
int campaignId,
int eventId
)
static member ImportEvent :
connection : SqlConnection *
transaction : SqlTransaction *
campaignId : int *
eventId : int -> int
DMLibrary.EMEvent.ImportEvent = function(connection, transaction, campaignId, 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:
Int32The imported Event's Id.
RemarksWill throw an exception if the Event is not found or if the Event is a system Event.
See Also