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

IGISServerConnection2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IG > IGISServerConnection2 Interface
ArcGIS Developer Help

IGISServerConnection2 Interface

Provides access to methods that connect a specified user to an ArcGIS server.

Product Availability

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


This interface is new at ArcGIS 9.3. It supersedes IGISServerConnection.


Name Description
Method Connect Connects to the GIS server specified by the machineName.
Method Connect2 Connects the user specified by userInfo to the GIS server given by machineName.
Read-only property ServerObjectAdmin The server object admin for the connected GIS server.
Read-only property ServerObjectManager The server object manager for the connected GIS server.

Inherited Interfaces

Interfaces Description
IGISServerConnection Provides access to members that connect to a GIS server.

Classes that implement IGISServerConnection2

Classes Description
GISServerConnection The ServerConnection object for connecting to the GIS server and getting the ServerObjectManager and ServerObjectAdmin.