SettingsKeyInfoProvider GetBoolValue Method (String, String, Boolean)Kentico 8.0 API Reference
Returns the boolean value of setting in web.config or value of specified key if setting is not present in web.config file.

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

Parameters

configKey
Type: OnlineSystem String
Web.config key
keyName
Type: OnlineSystem String
Name of the setting
settingDefaultValue
Type: OnlineSystem Boolean
Default value of the setting when web.config key is missing and database is not available

Return Value

Type: OnlineBoolean
See Also