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.v20.2.dll


public SqlDataConnection(
    string name,
    DataConnectionParametersBase connectionParameters
Public Sub New(
    name As String,
    connectionParameters As DataConnectionParametersBase


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.

See Also