Click or drag to resize
ConnectionHelperGetConnectionString Method (String, Boolean)
Gets the connection string

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetConnectionString(
	string connectionStringName,
	bool defaultIfNotFound
)

Parameters

connectionStringName
Type: SystemString
Connection string name
defaultIfNotFound
Type: SystemBoolean
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: String
See Also