Method PrepareSubScript
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
PrepareSubScript(string)
Returns a SubScriptOptions object, which you can use to configure and launch a subscript.
SubScriptOptions PrepareSubScript(string scriptName)
Parameters
scriptName
stringThe name of the script to prepare.
Returns
- SubScriptOptions
The SubScriptOptions object.
Examples
SubScriptOptions subscriptInfo;
subscriptInfo = engine.PrepareSubScript("myOtherScript");
subscriptInfo.Synchronous = true;
...
subscriptInfo.StartScript();
Exceptions
- ArgumentNullException
scriptName
is null.