Skip to main content
All docs
V22.2

SqlDataSourceUIHelper.ValidateConnection(SqlDataSource, IConnectionProviderService, UserLookAndFeel, IWin32Window, Boolean) Method

Namespace: DevExpress.DataAccess.UI.Sql

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

NuGet Package: DevExpress.DataAccess.UI

Declaration

public static SqlDataConnection ValidateConnection(
    this SqlDataSource sqlDataSource,
    IConnectionProviderService connectionProviderService,
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    bool showMessage = true
)

Parameters

Name Type
sqlDataSource SqlDataSource
connectionProviderService IConnectionProviderService
lookAndFeel UserLookAndFeel
owner IWin32Window

Optional Parameters

Name Type Default
showMessage Boolean True

Returns

Type
SqlDataConnection
See Also