SetAlarmEventSort method

Sorts the alarm event list by a specified attribute.
Syntax
TrendPro1
.
SetAlarmEventSort
(String
attribute
, Long
sortType
)
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
,
EventTime
,
AlarmName
, and
AlarmState
.
sortType
- is a Long value that specifies the sort order. The valid values are:
  • 0
    : not sorting
  • 1
    : ascending
  • 2
    : descending
Example
Private Sub btnSortByTime() TrendPro1.SetAlarmEventSort "EventTime", 1 End Sub
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal