ConfigUtilities.RedactConnectionStringInfo(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.