Click or drag to resize
SettingsKeyInfoProviderGetValue Method (SettingsKeyName, Boolean)

Note: This API is now obsolete.

Returns value of the specified key from the database.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
[ObsoleteAttribute("Use method GetValue(SettingsKeyName keyName) instead.")]
public static string GetValue(
	SettingsKeyName keyName,
	bool nullIfNotFound = false


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
nullIfNotFound (Optional)
Type: SystemBoolean
Return null if the key does not exist

Return Value

Type: String
See Also