Table of Contents

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 AlarmTemplateEventMessage

The alarm template.

alarmTemplateRow AlarmTemplateRow

The 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 or alarmTemplateRow is null.