Skip to main content
All docs
V24.2

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

Namespace: DevExpress.DataAccess.UI.Sql

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

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