Click or drag to resize

ISettingsRemove Method (SettingsKey)

Remove the specified AskiaPortal settings item.
It will not save the change in the database unless you explicitly call the Save method.

Namespace:  AskiaPortalCmn.Common
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
IReturnValue Remove(
	SettingsKey key
)

Parameters

key
Type: AskiaPortalCmn.CommonSettingsKey
AskiaPortal key of the settings item to remove.

Return Value

Type: IReturnValue
It return fail value, if the user in the context doesn't have enough permission to do this action.
Remarks
Use this method if you want the settings item to be inherited (if this notion is available in the context you are).

This method could not remove inherited item, you may have to remove the inheritance of override the value.

It will not save the change in the database unless you explicitly call the Save method.
See Also