CommonDatabaseFunctionsGetSetting Method

Returns the setting for a key from the wzp_settings register.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static string GetSetting(
	Uri oDataUri,
	string module,
	string key,
	string defaultValue = "",
	bool isRequired = false
)

Parameters

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

Return Value

String
Value of setting.

See Also