Click or drag to resize

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
)

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: IReturnValue
It 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