SqlDataConnection(String, DataConnectionParametersBase) Constructor
Initializes a new instance of the SqlDataConnection class with the specified connection name and parameters.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
Declaration
public SqlDataConnection(
string name,
DataConnectionParametersBase connectionParameters
)
Parameters
Name | Type | Description |
---|---|---|
name | String | A String value, specifying the connection name. This value is assigner to the DataConnectionBase.Name property. |
connectionParameters | DataConnectionParametersBase | A DataConnectionParametersBase descendant. This value is assigned to the SqlDataConnection.ConnectionParameters property. |
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SqlDataConnection(String, DataConnectionParametersBase) constructor.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.