Click or drag to resize

CoreUtilsStripPasswordFromConnectionString Method

Strips the password name-value pair from the connection string specified. It searches for 'password' or 'pwd' in the name-value pairs.

Namespace:  SD.LLBLGen.Pro.Core
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public static string StripPasswordFromConnectionString(
	string connectionString,
	bool replaceWithAsterix
)

Parameters

connectionString
Type: SystemString
The connection string.
replaceWithAsterix
Type: SystemBoolean
if set to true [replace with asterix].

Return Value

Type: String
See Also