MessageDLLFileVersion Property

Provides access to the version number of the message DLL that provides the event.

Syntax

ScriptContext.Event.MessageDLLFileVersion
ScriptContext.CreateEvent.MessageDLLFileVersion

Access

Read Only When used with an event provided to the script by the Microsoft Operations Manager 2000 (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 MessageDLLFileVersion property, enter:


Dim MYevent1
Dim MYevent2
set MYevent1 = ScriptContext.CreateEvent
set MYevent2 = ScriptContext.Event
MYevent1.MessageDLLFileVersion = MYevent2.MessageDLLFileVersion

This example sets the MessageDLLFileVersion property based on the event that caused the MOM product to invoke the script. The MessageDLLFileVersion property is set to the version number of the message DLL that provides the event.