ScriptManagerExecuteScript Method (String, IDictionaryString, Object) TIBCO Spotfire 7.12 API Reference
Executes the specified script.

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

C#
public void ExecuteScript(
	string scriptCode,
	IDictionary<string, Object> scriptArguments
)

Parameters

scriptCode
Type: SystemString
The IronPython script to execute.
scriptArguments
Type: System.Collections.GenericIDictionaryString, Object
A mapping of script variable names to values.
Exceptions

ExceptionCondition
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.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.10, 7.0
Obsolete (compiler warning) in 7.12
Obsolete (compiler warning) in 7.11
See Also

Reference