Method Sleep
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
Sleep(int)
Causes the Automation script to pause for the specified amount of time (in milliseconds).
public void Sleep(int timeInMilliseconds)
Parameters
timeInMilliseconds
intThe time to sleep (in ms).
Examples
engine.Sleep(100);
Remarks
note
In DataMiner versions prior to 10.3.0 [CU18]/10.4.0 [CU6]/10.4.9, this method will throw a DataMinerException when a negative time is specified.
Exceptions
- DataMinerException
Sleep failed.