EMEventCreateCampaignEvent Method (SqlConnection, SqlTransaction, Int32, String, String, Boolean, Boolean, Boolean)

Alterian Email Manager 6.2.3 SDK Help File
Creates an event for a campaign

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

Syntax
public static int CreateCampaignEvent(
	SqlConnection connection,
	SqlTransaction transaction,
	int campaignId,
	string eventName,
	string description,
	bool shared,
	bool notify,
	bool autoNamed = false
)

Parameters

connection
Type: System.Data.SqlClientSqlConnection
Sql connection
transaction
Type: System.Data.SqlClientSqlTransaction
Sql transaction
campaignId
Type: SystemInt32
Existing campaign Id
eventName
Type: SystemString
Event Name
description
Type: SystemString
Event Description
shared
Type: SystemBoolean
Shared flag
notify
Type: SystemBoolean
Notify flag
autoNamed (Optional)
Type: SystemBoolean
AutoNamed flag

Return Value

Type: Int32
Event Id
See Also