SettingsKeyInfoProviderSetValue Method (SettingsKeyName, Object, Boolean) |
Sets the value of the given key if the key exists.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public static void SetValue(
SettingsKeyName keyName,
Object value,
bool logSynchronization = true
)
Parameters
- keyName
- Type: CMS.DataEngineSettingsKeyName
Key name in format "[site name].[key name]" for site setting or "[key name]" for global setting, see SettingsKeyName for more information - value
- Type: SystemObject
Key value - logSynchronization (Optional)
- Type: SystemBoolean
If true, synchronization task is logged
See Also