com.esri.arcgis.server
Interface IGISServerConnection2

All Superinterfaces:
IGISServerConnection, java.io.Serializable
All Known Implementing Classes:
GISServerConnection, IGISServerConnection2Proxy

public interface IGISServerConnection2
extends IGISServerConnection, java.io.Serializable

COM Interface 'IGISServerConnection2'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriServer.olb'

Description: 'Provides access to methods that connect a specified user to an ArcGIS server.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDf6616298_396a_41f2_9a5b_0eed59af2e40
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.server.IGISServerConnection
IIDe3105184_0aad_4706_9269_dcb5ff52036d
 
Method Summary
 void connect2(java.lang.String userInfo, java.lang.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
 

Field Detail

IIDf6616298_396a_41f2_9a5b_0eed59af2e40

static final int IIDf6616298_396a_41f2_9a5b_0eed59af2e40
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

connect2

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

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