Click or drag to resize
SettingsKeyInfoProviderSetValue Method (String, SiteInfoIdentifier, Object, Boolean)
Sets the value of the given key if the key exists.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
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