Method SetAlarmTemplate
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
SetAlarmTemplate(string)
Assigns the specified alarm template to the element.
public virtual void SetAlarmTemplate(string name)
Parameters
name
stringThe name of the alarm template.
Examples
Element element = engine.FindElement(400, 2000);
element.SetAlarmTemplate("Template 1");
Exceptions
- DataMinerException
name
is invalid.