ConnectionHelper GetConnectionString Method (String, Boolean)Kentico 8.1 API Reference
Gets the connection string

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

Parameters

connectionStringName
Type: OnlineSystem String
Connection string name
defaultIfNotFound
Type: OnlineSystem Boolean
If true, the default connection string is returned if the given connection string is not found. Default connection string is represented by null in this context.

Return Value

Type: OnlineString
See Also