TaskExecutionContextGetPreference Method

Spotfire Automation Services 14.3 API Reference
Returns the string value for a given named preference.

Namespace:  Spotfire.Dxp.Automation.Extension
Assembly:  Spotfire.Dxp.Automation.Framework (in Spotfire.Dxp.Automation.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public abstract string GetPreference(
	string preferenceName,
	string defaultValue
)

Parameters

preferenceName
Type: SystemString
The string that identifies the preference
defaultValue
Type: SystemString
The value to return if the preference couldn't be found

Return Value

Type: String
A string value
Remarks

It is up to the execution environment to provide this implementation. In the normal (executing on a server) case, settings are stored in .config files.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference