Skip to main content
All docs
V24.1

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

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v24.1.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