ConnectionHelperGetConnectionString Method (String, Boolean) |
Gets the connection string
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax 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:
StringSee Also