ConfigRecordChange 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 public IReturnValue RecordChange(
IContext context,
ConfigKey key,
bool value
)
Public Function RecordChange (
context As IContext,
key As ConfigKey,
value As Boolean
) As IReturnValue
public:
virtual IReturnValue^ RecordChange(
IContext^ context,
ConfigKey key,
bool value
) sealed
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
Implements
IConfigRecordChange(IContext, ConfigKey, Boolean)Remarks
If the configuration item doesn't exists,
this method will fail.
See Also