AlertSource Property

Provides access to the source of the alert. The source of an alert is a user-defined name. If no name is defined, the event source is typcally used.

Syntax

ScriptContext.Alert.AlertSource
ScriptContext.CreateAlert.AlertSource

Access

Read/Write.

Return Type

String.

Example

To create a new alert and set the Source property to ACustomScript, enter:

Dim MYalert
set MYalert = ScriptContext.CreateAlert
set MYalert.AlertSource = "ACustomScript"