ResolutionState Property

Provides access to the resolution state of the alert, such as 0 or 11. Resolution state numbers are mapped to meaningful text, such as Open or Resolved, in the MOM Administrator Console or the Web Console.

Syntax

ScriptContext.Alert.ResolutionState
ScriptContext.CreateAlert.ResolutionState

Access

Read/Write.

Return Type

Long.

Example

To create a new alert and set the ResolutionState property to 0, enter:

Dim MYalert
set MYalert = ScriptContext.CreateAlert
set MYalert.ResolutionState = 0