SettingsKeyInfoProviderSetValue Method |
Sets the value of the given key if the key exists.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public static void SetValue(
string keyName,
SiteInfoIdentifier siteIdentifier,
Object value,
bool logSynchronization = true
)
Parameters
- keyName
- Type: SystemString
Key name - siteIdentifier
- Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information - value
- Type: SystemObject
Key value - logSynchronization (Optional)
- Type: SystemBoolean
If true, synchronization task is logged
See Also