SqlDataConnection.CreateConnectionString(Boolean) Method
In This Article
Generates a connection string out of the connection parameters assigned to the SqlDataConnection (with or without including user credentials into the connection string).
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
blackout |
Boolean | true, to remove user credentials from the connection string; otherwise, false. |
#Returns
Type | Description |
---|---|
String | A String value, specifying the connection string. |
#Remarks
When SqlDataConnection uses CustomStringConnectionParameters, the CreateConnectionString method will assign the resulting string to the SqlDataConnection.ConnectionString property.
#Implements
See Also