ArcObjects Library Reference (GISClient)  

esriAGSConnectionType Constants

The GIS server connection type.

Constant Value Description
esriAGSConnectionTypeLAN 1 Connection is to the GIS server over a LAN.
esriAGSConnectionTypeInternet 2 Connection is to the GIS server web services catalog using internet protocals.
esriAGSConnectionTypeRESTAdmin 3 Connection is to the GIS servers using JSON admin API.

Product Availability

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