Click or drag to resize
ConnectionHelperGetFirstFoundConnectionString Method
Gets the first found connection string by the prefix, if none found, returns null

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static string GetFirstFoundConnectionString(
	string baseConnectionString,
	params string[] prefixes
)

Parameters

baseConnectionString
Type: SystemString
Base connection string
prefixes
Type: SystemString
Connection string prefixes to try

Return Value

Type: String
See Also