| EMEventCreateCampaignEvent Method (DMToken, 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
 Syntax
Syntaxpublic static int CreateCampaignEvent(
	DMToken userToken,
	int campaignId,
	string eventName,
	string description,
	bool shared,
	bool notify,
	bool autoNamed = false
)
Public Shared Function CreateCampaignEvent ( 
	userToken As DMToken,
	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(
	DMToken^ userToken, 
	int campaignId, 
	String^ eventName, 
	String^ description, 
	bool shared, 
	bool notify, 
	bool autoNamed = false
)
static member CreateCampaignEvent : 
        userToken : DMToken * 
        campaignId : int * 
        eventName : string * 
        description : string * 
        shared : bool * 
        notify : bool * 
        ?autoNamed : bool 
(* Defaults:
        let _autoNamed = defaultArg autoNamed false
*)
-> int 
DMLibrary.EMEvent.CreateCampaignEvent = function(userToken, campaignId, eventName, description, shared, notify, autoNamed);
Parameters
- userToken
- Type: DMToken
 Authentication token
- 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
See Also