Method GetAlarmTemplate
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
GetAlarmTemplate(string)
Gets the alarm template with the specified name defined for this protocol.
IDmsAlarmTemplate GetAlarmTemplate(string templateName)
Parameters
templateName
stringThe name of the alarm template.
Returns
- IDmsAlarmTemplate
The alarm template with the specified name defined for this protocol.
Exceptions
- ArgumentNullException
templateName
is null.- ArgumentException
templateName
is the empty string ("") or white space.- AlarmTemplateNotFoundException
No alarm template with the specified name was found.