This document is archived and information here might be outdated.  Recommended version.

ITestConnection Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITestConnection Interface
ArcGIS Developer Help

ITestConnection Interface

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


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.


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

Classes that implement ITestConnection

Classes Description
IMSServiceName (esriGISClient) The IMS Service Name.