Skip to main content
All docs
V24.2

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

Namespace: DevExpress.DataAccess.UI.Sql

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

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