Provides access to the source of the event.
ScriptContext.Event.EventSource ScriptContext.CreateEvent.EventSource
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. |
String.
To create a new event and set the EventSource
property to TestScript
, enter:
Dim objEvent set objEvent = ScriptContext.CreateEvent objEvent.EventSource = "TestScript"