Skip to main content
A newer version of this page is available. .

SqlDataSourceUIHelper.ConfigureConnection(SqlDataSource, UserLookAndFeel) Method

OBSOLETE

This overload is obsolete now. Use ConfigureConnection instead.

Invokes the Connection Editor with the specified settings.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v18.2.UI.dll

Declaration

[Obsolete("This overload is obsolete now. Use ConfigureConnection(this SqlDataSource sqlDataSource, ConfigureConnectionContext context) instead.")]
public static bool ConfigureConnection(
    this SqlDataSource sqlDataSource,
    UserLookAndFeel lookAndFeel
)

Parameters

Name Type Description
sqlDataSource SqlDataSource

A SqlDataSource object, specifying the database connection.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object, specifying the application’s look and feel settings.

Returns

Type Description
Boolean

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

Remarks

The following image illustrates the Connection Editor invoked by calling the ConfigureConnection method.

data-access-sql-data-source-ui-helper-connection-editor

The Connection Editor allows an end-user to either specify connection parameters manually, or select an existing connection from the list. If the first option is selected, the next page of the dialog becomes available, prompting an end-user to specify the required connection settings.

data-access-sql-data-source-ui-helper-connection-parameters-editor

See Also