SqlDataConnection.BlackoutCredentials() Method

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v21.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