TaskExecutionContextGetPreference Method

Spotfire Automation Services 15.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: 71.0.21826.3255 (71.0.21826.3255)
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


See Also

Reference