Method DeleteAlarmTemplateRow
- Namespace
- Skyline.DataMiner.Net.AlarmTemplateHelper
- Assembly
- SLNetTypes.dll
DeleteAlarmTemplateRow(AlarmTemplateEventMessage, AlarmTemplateRow)
Deletes the specified alarm template rows from the specified alarm template.
public AlarmTemplateEventMessage DeleteAlarmTemplateRow(AlarmTemplateEventMessage alarmTemplate, AlarmTemplateRow alarmTemplateRow)
Parameters
alarmTemplateAlarmTemplateEventMessageThe alarm template.
alarmTemplateRowAlarmTemplateRowThe alarm template row.
Returns
- AlarmTemplateEventMessage
An Skyline.DataMiner.Net.Messages.AlarmTemplateEventMessage where the parameter defined by the AlarmTemplateRow is removed.
Remarks
The condition will also be removed if there are no links anymore.
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 cannot be found in the list.
- InvalidAlarmTemplateRowException
The provided AlarmTemplateRow contains data that does not match with the ID in it.
- ArgumentNullException
alarmTemplateoralarmTemplateRowis null.