Skip to main content
A newer version of this page is available. .

SqlDataConnection.BlackoutCredentials() Method

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

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