AddAlarmEventFilter method

Adds an alarm event filter with a specified attribute.
Syntax
TrendPro1
.
AddAlarmEventFilter
(String
attribute
, String
filterValue
)
where
TrendPro1
- is the name of a TrendPro object or an expression that evaluates to a TrendPro object.
attribute
- is the name of a alarm event attribute. The value is not case-sensitive. It must be one of
Priority
,
AlarmState
,
AlarmName
,
ConditionName
, and
Message
.
filterValue
- is the filter value defined for the alarm event attribute. It may be a string or a constant value, depending on the attribute you specified. If the value is empty, the filter for the attribute will be removed.
TIP:
Separate each value with a space if you have multiple filter values.
Example
Private Sub btnAddFilter_Click() TrendPro1.AddAlarmEventFilter "AlarmState", "Normal Unack" 'The filter value is Normal or Unack. End Sub
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal