Provides access to the type of the event, such as
Warning
or Error
.
ScriptContext.Event.EventType ScriptContext.CreateEvent.EventType
Read Only | When used with an event provided to the script by the Microsoft Operations Manager 2000 product. |
Read/Write | When used with a new event created with the ScriptContext.CreateEvent Method. |
Long.
To create a new event and set the EventType
property to Warning
, enter:
Dim MYevent set MYevent = ScriptContext.CreateEvent MYevent.EventType = "Warning"