Method DeleteAlarmTemplateRowsOnServer
- Namespace
- Skyline.DataMiner.Net.AlarmTemplateHelper
- Assembly
- SLNetTypes.dll
DeleteAlarmTemplateRowsOnServer(AlarmTemplateID, List<AlarmTemplateRow>)
Deletes the specified alarm template rows from the specified alarm template.
public void DeleteAlarmTemplateRowsOnServer(AlarmTemplateID alarmTemplateID, List<AlarmTemplateRow> alarmTemplateRows)
Parameters
alarmTemplateID
AlarmTemplateIDThe alarm template ID.
alarmTemplateRows
List<AlarmTemplateRow>The alarm tempalte rows.
Remarks
The AlarmTemplate will be retrieved using the AlarmTemplateID. The deletes are executed and if this was successful the template will be updated on the server.
Exceptions
- RetrievingAlarmTemplateFromServerException
The AlarmTemplate could not be retrieved from the server.
- ConditionDoesNotExistException
The condition is not in the condition list.
- ParameterDoesNotExistException
The parameter is not in the parameter list.
- DataMinerException
The GetAlarmTemplateRow returns a parameter that cannot be found in the list.
- InvalidAlarmTemplateRowException
The provided AlarmTemplateRow contains data does not match with the ID in it.
- ArgumentNullException
alarmTemplateID
oralarmTemplateRows
is null.