LoggingDomain Property

Provides access to the logging domain of the event.

Syntax

ScriptContext.Event.LoggingDomain
ScriptContext.CreateEvent.LoggingDomain

Access

Read only When used with an event provided to the script by the MOM 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 LoggingDomain property to DOMAIN1, enter:


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