GetAlarmPriority
GetAlarmPriority(AlarmId As String/Integer, nPriority As Integer[, bAlarmPrio As Boolean])
Returns in <nPriority> the priority value of the alarm tag <AlarmId>. <AlarmId> can be the numeric object id of the alarm tag or its alphanumeric identifier, according with the type of <AlarmId> (Integer or String).
When the optional parameter is set to TRUE (FALSE by default), the priority returned is the dynamic priority of the alarm.
Returns an error code (0 if no error, 6 if <AlarmId> not defined).