DataConnectorTestConnection Method

Tests the connection.

Namespace:  Dundas.BI.Entities.DataConnectors
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
Syntax
public virtual TestConnectionResult TestConnection()

Return Value

Type: TestConnectionResult
The test connection result.
Exceptions
ExceptionCondition
DataConnectionExceptionThe connection cannot be established.
NotFoundExceptionThe associated data provider was not found.
InvalidProviderValueExceptionOne or more provider-specific property values are invalid.
NoPrivilegeException

The data connector has never been saved, and the caller does not hold a Power User or Developer seat.

-or-

The application configuration restricts use of the associated data provider to system administrators.

-or-

The application is using an OEM/ISV Retail/Distribution license, and the caller does not hold a Developer seat.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also