Events.Alarm.Type
-----------------

Queries the type of alarm.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.Alarm.Type"; EKAlarm ) 

**MBS**( **"Events.Alarm.Type";** /\* Queries the type of alarm. \*/  
**$EKAlarm**) /\* The reference to the alarm.e.g. $Alarm \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKAlarm | The reference to the alarm. | $Alarm |

### Result

Returns text or error.

### Description

Queries the type of alarm.  
Can be Display, Email, Procedure or Sound.  
  
| Display | The alarm displays a message. |
|---|---|
| Sound | The alarm plays a sound. |
| URL | The alarm opens a URL. |
| Email | The alarm sends an email. |

  
This field is read-only; to change the type of alarm, set emailAddress, sound or URL.  
 Setting all of those to empty text will change it to type Display.  
### See also

- [Events.Alarm.Copy](EventsAlarmCopy.md)
- [Events.Source.Type](EventsSourceType.md)

This function checks for a license.

Created 10th March 2016 , last changed 13th August 2016

  
[Events.Alarm.TriggerDateRelativeTo](EventsAlarmTriggerDateRelativeTo.md) - [Events.AuthorizationStatusForEntityType](EventsAuthorizationStatusForEntityType.md)

[HTML Version](EventsAlarmType.shtml)