Each alarm has a status property, which can have a value of enabled or disabled. When you add an alarm, the status of the alarm is enabled. Disabled alarms do not notify at the time they are due, and they are ignored by the Alarm Server.
Use RASCliSession::SetAlarmStatus() to change the status of the specified alarm to enabled or disabled. The following code fragment illustrates how to set alarm status:
TAlarmId alarmId; TheAlarmServerSession.SetAlarmStatus( alarmId , EAlarmStatusEnabled );