Determines whether the object provided to the script by Microsoft Operations Manager 2000 is an Event object.
ScriptContext.IsEvent
None.
Boolean.
To determine whether the object provided to the script by MOM is an Event object, enter:
Dim MYevent If ScriptContext.IsEvent then Set MYevent = ScriptContext.Event End If
This example gets the Event object with the Event property after determining whether the object is an Event object.