Obtaining a List of Alarms

Use the AlarmManager.GetAlarm method to obtain an array of references to all Alarm managed objects defined for a specific managed entity. When you call the method, you can pass in an optional reference to a managed entity. Without a reference to a managed entity, the GetAlarm operation returns all Alarm objects for all entities that are visible to the principal associated with the session invoking the operation.

Figure 1. Alarm Managed Object
Shows AlarmInfo as a subclass of Alarm, with back link to Alarm and reference to its managed entity.

The Alarm.info property is an AlarmInfo data object. You can obtain information about active Alarms by collecting the properties of the AlarmInfo data object.