Table of Contents

Method UpdateAlarmTemplateRowsOnServer

Namespace
Skyline.DataMiner.Net.AlarmTemplateHelper
Assembly
SLNetTypes.dll

UpdateAlarmTemplateRowsOnServer(AlarmTemplateID, List<AlarmTemplateRow>)

Updates the specified alarm template with the specified rows.

public void UpdateAlarmTemplateRowsOnServer(AlarmTemplateID alarmTemplateID, List<AlarmTemplateRow> alarmTemplateRows)

Parameters

alarmTemplateID AlarmTemplateID

The ID of the alarm template.

alarmTemplateRows List<AlarmTemplateRow>

The alarm template rows to update.

Remarks

The AlarmTemplate will be retrieved using the AlarmTemplateID. The updates are executed and the AlarmTemplate will be updated on the server. If this method fails, the AlarmTemplate will not be updated on the server.

Exceptions

RetrievingAlarmTemplateFromServerException

The AlarmTemplate could not be retrieved from the server.

NoAlarmTemplateRowToUpdateException

No data to update is found in the AlarmTemplate.

ConditionDoesNotExistException

The condition that is linked to the parameter is not found in the target AlarmTemplate.

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

alarmTemplateID or alarmTemplateRows is null.