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

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

Namespace: DevExpress.DataAccess.UI.Sql

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

NuGet Packages: DevExpress.DataAccess.UI, DevExpress.Win.Design

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