TaskExecutionContext GetPreference Method TIBCO Spotfire Automation Services 7.0 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: 18.10.8513.5432 (18.10.8513.5432)
Syntax

public abstract string GetPreference(
	string preferenceName,
	string defaultValue
)

Parameters

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

Return Value

Type: OnlineString
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


See Also