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.7.0.0 (5.7.0)
Syntax public static string StripPasswordFromConnectionString(
string connectionString,
bool replaceWithAsterix
)
Public Shared Function StripPasswordFromConnectionString (
connectionString As String,
replaceWithAsterix As Boolean
) As String
Parameters
- connectionString
- Type: SystemString
The connection string. - replaceWithAsterix
- Type: SystemBoolean
if set to true [replace with asterix].
Return Value
Type:
StringSee Also