Method DeleteAlarmTemplateRows
- Namespace
- Skyline.DataMiner.Net.AlarmTemplateHelper
- Assembly
- SLNetTypes.dll
DeleteAlarmTemplateRows(AlarmTemplateEventMessage, List<AlarmTemplateRow>)
Returns an Skyline.DataMiner.Net.Messages.AlarmTemplateEventMessage where the parameters defined by the AlarmTemplateRows are removed. The conditions will also be removed if there are no links anymore.
public AlarmTemplateEventMessage DeleteAlarmTemplateRows(AlarmTemplateEventMessage alarmTemplate, List<AlarmTemplateRow> alarmTemplateRows)
Parameters
alarmTemplate
AlarmTemplateEventMessageThe alarm template.
alarmTemplateRows
List<AlarmTemplateRow>The alarm template rows.
Returns
- AlarmTemplateEventMessage
Exceptions
- ConditionDoesNotExistException
The condition is not in the condition list.
- ParameterDoesNotExistException
The parameter is not in the parameter list.
- DataMinerException
GetAlarmTemplateRow returns a parameter that can not be found in the list.
- InvalidAlarmTemplateRowException
The provided AlarmTemplateRow contains data that does not match with the ID in it.
- ArgumentNullException
alarmTemplate
oralarmTemplateRows
is null.