Click or drag to resize
SettingsHelper Class
Settings helper.
Inheritance Hierarchy
SystemObject
  CMS.BaseSettingsHelper

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax
C#
public static class SettingsHelper

The SettingsHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllowLocalConfigKeys
If true, local configuration keys are allowed within the application
Public propertyStatic memberAllowUpdateTimeStamps
If true, time stamp update of the objects is allowed.
Public propertyStatic memberAppSettings
AppSettings collection.
Public propertyStatic memberConnectionStrings
ConnectionStrings collection.
Public propertyStatic memberLoadObjectsWithReader
Load the objects with the data reader?
Top
Methods
  NameDescription
Public methodStatic memberRemoveConfigValue
Remove the specified key from the AppSettings section for web application.
Public methodStatic memberRemoveConnectionString
Removes connection string from web.config.
Public methodStatic memberSetConfigValue
Sets or adds the specified key to the AppSettings section for web application.
Public methodStatic memberSetConnectionString
Sets or adds the specified connection string in the ConnectionStrings section for web application.
Top
See Also