ScriptManagerTryGetScript Method TIBCO Spotfire 7.12 API Reference
Tries to get a script with the specified scriptName.

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 bool TryGetScript(
	string scriptName,
	out ScriptDefinition script
)

Parameters

scriptName
Type: SystemString
The name of the script to get.
script
Type: Spotfire.Dxp.Application.ScriptingScriptDefinition
Will be assigned the script with the specified name, or null if no such script is found.

Return Value

Type: Boolean
true if the script is found; otherwise false.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference