SqlDataSourceUIHelper.ConfigureConnection(SqlDataSource, UserLookAndFeel, IWin32Window, IConnectionStorageService) 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.v24.1.UI.dll
NuGet Package: DevExpress.DataAccess.UI
Declaration
[Obsolete("This overload is obsolete now. Use ConfigureConnection(this SqlDataSource sqlDataSource, ConfigureConnectionContext context) instead.")]
public static bool ConfigureConnection(
this SqlDataSource sqlDataSource,
UserLookAndFeel lookAndFeel,
IWin32Window owner,
IConnectionStorageService connectionStorageService
)
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. |
owner | IWin32Window | An object implementing the IWin32Window interface that is the owner of the current dialog window. |
connectionStorageService | IConnectionStorageService | An object implementing the IConnectionStorageService interface. |
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.
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.