SetEventParameter Method

Sets the event parameters of a newly created event object.

Syntax

ScriptContext.Event.SetEventParameter(Parameter String)

Parameters

Parameter Specifies the value of the event parameter.

Return Type

String.

Example

To set the first and second event parameters for a newly created event object, enter:

Dim objEvent
Set objEvent = ScriptContext.CreateEvent
objEvent.SetEventParameter "This is the first parameter"
objEvent.SetEventParameter "This is the second parameter"
ScriptContext.Submit objEvent

This example sets the first and second event parameters of a newly created event.

Related Topics