Redigera

Dela via


ConfigUtilities.RedactConnectionStringInfo(String) Method

Definition

Prints the DataConnectionString, without disclosing any credential info such as the Azure Storage AccountKey, SqlServer password or AWS SecretKey.

public static string RedactConnectionStringInfo (string connectionString);
static member RedactConnectionStringInfo : string -> string
Public Shared Function RedactConnectionStringInfo (connectionString As String) As String

Parameters

connectionString
String

The connection string to print.

Returns

The string representation of the DataConnectionString with account credential info redacted.

Applies to