SourceDomain Property (Event)

Provides access to the source domain of the event.

Syntax

ScriptContext.Event.SourceDomain
ScriptContext.CreateEvent.SourceDomain

Access

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.

Return Type

String.

Example

To create a new event and set the SourceDomain property to DOMAIN1, enter:


Dim objEvent
set objEvent = ScriptContext.CreateEvent
objEvent.SourceDomain = "DOMAIN1"