ScriptManager ExecuteScript Method (String, IDictionary String, Object , Stream) TIBCO Spotfire 6.0 API Reference
Executes the specified script.

Namespace: Spotfire.Dxp.Application.Scripting
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void ExecuteScript(
	string scriptCode,
	IDictionary<string, Object> scriptArguments,
	Stream outputStream
)

Parameters

scriptCode
Type: System String
The IronPython 2.0.2 script to execute.
scriptArguments
Type: System.Collections.Generic IDictionary String, Object 
A mapping of script variable names to values.
outputStream
Type: System.IO Stream
The stream to which the output of the script is written.
Exceptions

ExceptionCondition
System NotSupportedExceptionif script support is not available in the current distribution.
Remarks

The script is executed in a transaction. Any exeptions thrown by the script are propagated to the caller of this method.
See Also