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:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static int CreateCampaignEvent(
SqlConnection connection,
SqlTransaction transaction,
int campaignId,
string eventName,
string description,
bool shared,
bool notify,
bool autoNamed = false
)
Public Shared Function CreateCampaignEvent (
connection As SqlConnection,
transaction As SqlTransaction,
campaignId As Integer,
eventName As String,
description As String,
shared As Boolean,
notify As Boolean,
Optional autoNamed As Boolean = false
) As Integer
public:
static int CreateCampaignEvent(
SqlConnection^ connection,
SqlTransaction^ transaction,
int campaignId,
String^ eventName,
String^ description,
bool shared,
bool notify,
bool autoNamed = false
)
static member CreateCampaignEvent :
connection : SqlConnection *
transaction : SqlTransaction *
campaignId : int *
eventName : string *
description : string *
shared : bool *
notify : bool *
?autoNamed : bool
(* Defaults:
let _autoNamed = defaultArg autoNamed false
*)
-> int
DMLibrary.EMEvent.CreateCampaignEvent = function(connection, transaction, campaignId, eventName, description, shared, notify, autoNamed);
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:
Int32Event Id
See Also