Difference between revisions of "DeleteEvent"

From LongJump Support Wiki
imported>Aeric
m (Text replace - 'searchRecords(' to 'Functions.searchRecords(')
 
imported>Aeric
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
'''Syntax'''
'''Syntax'''


:<pre>Result = Functions.deleteEvent(String eventID)</pre>
:<syntaxhighlight lang="java" enclose="div">
Result = Functions.deleteEvent(String eventID)
</syntaxhighlight>


'''Parameters'''
'''Parameters'''
Line 24: Line 26:
Functions.deleteEvent(eventID);
Functions.deleteEvent(eventID);
</syntaxhighlight>
</syntaxhighlight>
<noinclude>


<noinclude>
[[Category:Event and Task Management]]
[[Category:Event and Task Management]]
</noinclude>
</noinclude>

Latest revision as of 00:32, 14 December 2011

Functions.deleteEvent(String eventId)
Deletes the event for the eventId.
To retrieve the ID of the event to be deleted, use Functions.searchRecords() API.

Syntax

Result = Functions.deleteEvent(String eventID)

Parameters

eventID
The identifier of the event

Return

Result object
Example
This example invokes deleteEvent to remove the event identified by eventID.
String eventID = "";
// Some code to populate the eventID, through searchRecords/getRecord API
Functions.deleteEvent(eventID);