SqlDataSourceUIHelper.ConfigureConnection(SqlDataSource, ConfigureConnectionContext) Method

Invokes the Connection Editor with the specified settings.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v21.1.UI.dll

Declaration

public static bool ConfigureConnection(
    this SqlDataSource sqlDataSource,
    ConfigureConnectionContext context
)

Parameters

Name Type Description
sqlDataSource SqlDataSource

A SqlDataSource object, specifying the database connection.

context ConfigureConnectionContext

A ConfigureConnectionContext object, specifying the editor settings.

Returns

Type Description
Boolean

true if the dialog was finished by clicking the Finish button; otherwise, false.

See Also