Table of Contents

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.

public SubScriptOptions PrepareSubScript(string scriptName)

Parameters

scriptName string

The 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.