CimGetEMEvent (function)

Syntax CimGetEMEvent()
Description Returns a CimEMEvent object. A function to return the event object that causes the action to run. Only valid from Event Manager.
Example
Sub Main()
   Dim event as CimEMEvent
   Set event = CimGetEMEvent()
   PointSet "LAST_EVENT_TIME", cstr(event.TimeStamp)
End Sub
Note CimGetEMEvent can only be used from the Event Manager. It is not valid in CimView/CimEdit.