Table of Contents

Method ExecuteScript

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

ExecuteScript(string[])

Executes the specified script. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_GETINFO (4), SPAI_EXECUTE_SCRIPT (48), scriptInfo, null, out result); WARNING: Due to SLNet limitations the Return value only supports returning the content & settings of the last GetTrace call.

object ExecuteScript(string[] scriptInfo)

Parameters

scriptInfo string[]

All info needed to execute the script.

Returns

object

An object holding all the results of the script execution.

Exceptions

ArgumentNullException

scriptInfo is null.

InvalidOperationException

scriptInfoScript failed to execute.

TimeoutException

Script result timed out.