SqlDataConnection.CreateConnectionString() Method
Generates a connection string out of the connection parameters assigned to the SqlDataConnection.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
Declaration
Returns
Type | Description |
---|---|
String | A String value, specifying the connection string. |
Remarks
Calling CreateConnectionString after the SqlDataConnection.BlackoutCredentials method call will exclude the user name and password from the resulting connection string.
When SqlDataConnection uses CustomStringConnectionParameters, the CreateConnectionString method will assign the resulting string to the SqlDataConnection.ConnectionString property.
Implements
See Also