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
reasonstringThe 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
reasonstringThe reason why the element is masked.
amountOfSecondsintThe number of seconds to mask the element.
Examples
Element element = engine.FindElement(400, 2000);
element.Mask("Maintenance window.", 7200);