ITestConnection Interface

Provides access to members that test connection for a preset configuration.

Description

If any type of coclass has provide a method to test preconfigured connection, it could implement ITestConnection interface. This method returns a boolean to indicate if the connection failed or passed. In case the connection failed, the implementing coclass is expected to return the appropriate HRESULT indicate what was the cause of the failure.

Members

Name Description
Method TestConnection Tests if the connection is successful with the current configuration.

ITestConnection.TestConnection Method

Tests if the connection is successful with the current configuration.

Public Function TestConnection ( _
) As Boolean
public bool TestConnection (
);

Description

Returns the indication whether the connection failed or passed.

Classes that implement ITestConnection

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close