Skip to main content

SqlDataConnection.BlackoutCredentials() Method

Removes user credentials from the connection string generated for the current SqlDataConnection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v25.1.dll

NuGet Package: DevExpress.DataAccess

Declaration

public void BlackoutCredentials()

Remarks

Calling BlackoutCredentials before the SqlDataConnection.CreateConnectionString method call will exclude the user name and password from the resulting connection string.

See Also