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
templateNamestringThe name of the alarm template.
Returns
- IDmsAlarmTemplate
The alarm template with the specified name defined for this protocol.
Exceptions
- ArgumentNullException
templateNameis null.- ArgumentException
templateNameis the empty string ("") or white space.- AlarmTemplateNotFoundException
No alarm template with the specified name was found.