com.esri.arcgis.server
Interface IGISServerConnection2

All Superinterfaces:
IGISServerConnection, Serializable
All Known Implementing Classes:
GISServerConnection

public interface IGISServerConnection2
extends IGISServerConnection, Serializable

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

Description

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

Product Availability

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


Method Summary
 void connect2(String userInfo, String machineName)
          Connects the user specified by userInfo to the GIS server given by machineName.
 
Methods inherited from interface com.esri.arcgis.server.IGISServerConnection
connect, getServerObjectAdmin, getServerObjectManager
 

Method Detail

connect2

void connect2(String userInfo,
              String machineName)
              throws IOException,
                     AutomationException
Connects the user specified by userInfo to the GIS server given by machineName.

Product Availability

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

Parameters:
userInfo - The userInfo (in)
machineName - The machineName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.