IConfigRecordChange Method (IContext, ConfigKey, Boolean) |
Record a new value for the specified configuration item.
It will not apply the change in the configuration,
nor save in the database unless you explicitly
call the
ApplyRecordedChanges(IContext) method.
Namespace:
AskiaPortalCmn.Configuration
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax IReturnValue RecordChange(
IContext context,
ConfigKey key,
bool value
)
Function RecordChange (
context As IContext,
key As ConfigKey,
value As Boolean
) As IReturnValue
IReturnValue^ RecordChange(
IContext^ context,
ConfigKey key,
bool value
)
Parameters
- context
- Type: AskiaPortalCmnIContext
Context of execution - key
- Type: AskiaPortalCmn.ConfigurationConfigKey
Indicates the configuration item to modify - value
- Type: SystemBoolean
Indicates the value to set
Return Value
Type:
IReturnValueIt return fail value, if the user in the context doesn't have enough permission to do this action
Remarks
If the configuration item doesn't exists,
this method will fail.
See Also