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: 21.3.0.0 (21.3.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: StringValue of setting.
See Also