Skip to main content
A newer version of this page is available. .
All docs
V20.2

SqlDataSourceUIHelper.OpenConnectionAsync(SqlDataSource, IConnectionProviderService, IEditContext, CancellationTokenSource) Method

Namespace: DevExpress.DataAccess.UI.Sql

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

NuGet Package: DevExpress.DataAccess.UI

Declaration

public static Task<bool> OpenConnectionAsync(
    this SqlDataSource dataSource,
    IConnectionProviderService connectionService,
    IEditContext context,
    CancellationTokenSource tokenSource
)

Parameters

Name Type
dataSource SqlDataSource
connectionService IConnectionProviderService
context DevExpress.DataAccess.UI.Sql.IEditContext
tokenSource CancellationTokenSource

Returns

Type
Task<Boolean>
See Also