Method ExitSuccess
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
ExitSuccess(string)
Aborts the Automation script, but does not indicate that it has failed.
void ExitSuccess(string reason)
Parameters
reason
stringMessage describing the reason.
Examples
engine.ExitSuccess("The script has been stopped.");
Remarks
caution
This method throws an ScriptAbortException. The script author is supposed to take this into account and make sure the script does not run endlessly, and that it does not swallow ScriptAbortException when calling ExitSuccess(string).