SettingsKeyInfoProvider SetValue Method (SettingsKeyName, Object, Boolean)Kentico 8.1 API Reference
Sets the value of the given key if the key exists.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

keyName
Type: CMS.DataEngine SettingsKeyName
Key name in format "[site name].[key name]" for site setting or "[key name]" for global setting, see SettingsKeyName for more information
value
Type: OnlineSystem Object
Key value
logSynchronization (Optional)
Type: OnlineSystem Boolean
If true, synchronization task is logged
See Also