Method UpdateAlarmTemplateRow
- Namespace
- Skyline.DataMiner.Net.AlarmTemplateHelper
- Assembly
- SLNetTypes.dll
UpdateAlarmTemplateRow(AlarmTemplateEventMessage, AlarmTemplateRow)
Updates parameter data in the target AlarmTemplate, when no data to update is found, an exception is thrown.
public AlarmTemplateEventMessage UpdateAlarmTemplateRow(AlarmTemplateEventMessage alarmTemplate, AlarmTemplateRow alarmTemplateRow)
Parameters
alarmTemplate
AlarmTemplateEventMessageThe alarm template.
alarmTemplateRow
AlarmTemplateRowThe alarm template row.
Returns
- AlarmTemplateEventMessage
The updated alarm template.
Exceptions
- NoAlarmTemplateRowToUpdateException
When no data to update is found in the AlarmTemplate
- ConditionDoesNotExistException
If the condition that is linked to the parameter is not found in the target alarmTemplate
- DataMinerException
When GetAlarmTemplateRow returns a parameter that can not be found in the list
- InvalidAlarmTemplateRowException
When the provided AlarmTemplateRow contains data that does not match with the ID in it
- ArgumentNullException
When passing null values to the method