SettingsKeyInfoProvider.GetValue Method (SettingsKeyName, Boolean)Kentico 8.0 API Reference
Returns value of the specified key from the database.

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

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

Return Value

Type: OnlineString
See Also