Method Mask
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
Mask(string)
Masks the element that is linked to the dummy.
public virtual void Mask(string reason)
Parameters
reason
stringThe reason why the element is masked.
Examples
Element element = engine.FindElement(400, 2000);
element.Mask("Maintenance window.");
Mask(string, int)
Masks the element that is linked to the dummy for the specified period of time.
public virtual void Mask(string reason, int amountOfSeconds)
Parameters
reason
stringThe reason why the element is masked.
amountOfSeconds
intThe number of seconds to mask the element.
Examples
Element element = engine.FindElement(400, 2000);
element.Mask("Maintenance window.", 7200);