Table of Contents

Method ExecuteScript

Namespace
Skyline.DataMiner.Scripting
Assembly
SLManagedScripting.dll

ExecuteScript(ExecuteScriptMessage)

Executes the specified Automation script.

ExecuteScriptResponseMessage ExecuteScript(ExecuteScriptMessage message)

Parameters

message ExecuteScriptMessage

Information about the script to execute.

Returns

ExecuteScriptResponseMessage

Information about the execution of the Automation script.

Remarks

The script will be executed by the user who is performing the QAction. It will return an ExecuteScriptResponseMessage, containing information about the execution of the script.

Using this overload of the ExecuteScript method is particularly useful when the script in question needs a dummy or protocol information to run.

Feature introduced in DataMiner 10.0.5 (RN 24475).

ExecuteScript(string)

Executes the Automation script with the specified name.

ExecuteScriptResponseMessage ExecuteScript(string scriptName)

Parameters

scriptName string

The name of the Automation script to execute.

Returns

ExecuteScriptResponseMessage

Information about the execution of the Automation script.

Remarks

The script will be executed by the user who is performing the QAction. It will return an ExecuteScriptResponseMessage, containing information about the execution of the script.

If you execute a script using this method, it will be executed with all script execution settings set to the default values. If more control is needed, then use the ExecuteScript(ExecuteScriptMessage) overload.

Feature introduced in DataMiner 10.0.5 (RN 24475).