Provides access to the Windows NT and Windows 2000 event ID of the event.
ScriptContext.Event.EventNumber ScriptContext.CreateEvent.EventNumber
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 EventNumber
property to 1349
, enter:
Dim MYevent set MYevent = ScriptContext.CreateEvent MYevent.EventNumber = 1349