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: 13.0.131
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