All docs
V20.2
21.1 (EAP/Beta)
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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

Namespace: DevExpress.DataAccess.UI.Sql

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

Declaration

public static SqlDataConnection ValidateConnection(
    this SqlDataSource sqlDataSource,
    IConnectionProviderService connectionProviderService,
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    bool showMessage = true
)
<ExtensionAttribute>
Public Shared Function ValidateConnection(
    sqlDataSource As SqlDataSource,
    connectionProviderService As IConnectionProviderService,
    lookAndFeel As UserLookAndFeel,
    owner As IWin32Window,
    showMessage As Boolean = True
) As SqlDataConnection

Parameters

Name Type
sqlDataSource SqlDataSource
connectionProviderService IConnectionProviderService
lookAndFeel UserLookAndFeel
owner IWin32Window

Optional Parameters

Name Type Default
showMessage Boolean

True

Returns

Type
SqlDataConnection
See Also