Provides access to the source domain of the event.
ScriptContext.Event.SourceDomain ScriptContext.CreateEvent.SourceDomain
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 SourceDomain
property to DOMAIN1
, enter:
Dim objEvent set objEvent = ScriptContext.CreateEvent objEvent.SourceDomain = "DOMAIN1"