CommonDatabaseFunctionsGetSetting Method
Returns the setting for a key from the wzp_settings register.
Namespace: Scanjour.Workflow4.BaseAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
public static string GetSetting(
Uri oDataUri,
string module,
string key,
string defaultValue = "",
bool isRequired = false
)
Public Shared Function GetSetting (
oDataUri As Uri,
module As String,
key As String,
Optional defaultValue As String = "",
Optional isRequired As Boolean = false
) As String
public:
static String^ GetSetting(
Uri^ oDataUri,
String^ module,
String^ key,
String^ defaultValue = L"",
bool isRequired = false
)
static member GetSetting :
oDataUri : Uri *
module : string *
key : string *
?defaultValue : string *
?isRequired : bool
(* Defaults:
let _defaultValue = defaultArg defaultValue ""
let _isRequired = defaultArg isRequired false
*)
-> string
- 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.
StringValue of setting.