Click or drag to resize
CMSConnectionStrings Class
Connection strings
Inheritance Hierarchy
SystemObject
  CMS.BaseCMSConnectionStrings

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
public class CMSConnectionStrings

The CMSConnectionStrings type exposes the following members.

Constructors
  NameDescription
Public methodCMSConnectionStrings
Top
Fields
  NameDescription
Public fieldConnectionStringNames
Connection string names by their values
Top
Properties
  NameDescription
Public propertyCount
Gets number of connection strings.
Public propertyItem
Connection strings indexer.
Top
Methods
  NameDescription
Public methodClear
Clear connection strings table
Public methodGetConnectionStringName
Gets the connection string name by its value
Protected methodGetFromSettings
Attempts to get the connection string using the given list of keys.
Protected methodStatic memberRaiseGetConnectionString
Returns application connection string from external source
Public methodSetConnectionString
Sets the specific connection string to a new value
Top
Events
  NameDescription
Public eventStatic memberGetConnectionString
Event which is thrown when Azure application wants to read application connection strings.
Top
See Also