Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Namespace: DevExpress.DataAccess.UI.Sql

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