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
alarmTemplate
AlarmTemplateEventMessageThe alarm template.
alarmTemplateRow
AlarmTemplateRowThe 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
alarmTemplate
oralarmTemplateRow
is null.