Table of Contents

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 AlarmTemplateEventMessage

The 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 cannot be found in the list.

InvalidAlarmTemplateRowException

The provided AlarmTemplateRow contains data that does not match with the ID in it.

ArgumentNullException

alarmTemplate or alarmTemplateRows is null.

Advanced search syntax