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.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

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