SqlDataConnection.BlackoutCredentials() Method

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public void BlackoutCredentials()
Public Sub BlackoutCredentials

Remarks

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

See Also