CommonDatabaseFunctionsGetSetting Method

Scanjour Workflow4 Reference Manual
Returns the setting for a key from the wzp_settings register.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

public static string GetSetting(
	Uri oDataUri,
	string module,
	string key,
	string defaultValue = "",
	bool isRequired = false
)

Parameters

oDataUri
Type: SystemUri
The OData Uri.
module
Type: SystemString
Settings module name.
key
Type: SystemString
The key to return the setting value for.
defaultValue (Optional)
Type: SystemString
The value returned if setting is empty or not found.
isRequired (Optional)
Type: SystemBoolean
If the setting is required will throw exception.

Return Value

Type: String
Value of setting.
See Also

Reference