com.esri.arcgis.gisclient
Interface IAGSServerConnectionFactory3

All Superinterfaces:
IAGSServerConnectionFactory, IAGSServerConnectionFactory2, Serializable
All Known Implementing Classes:
AGSServerConnectionFactory

public interface IAGSServerConnectionFactory3
extends IAGSServerConnectionFactory2, Serializable

Provides access to members that create and open GIS server connections and supply server connection factory information.

Product Availability

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


Method Summary
 IEnumAGSServerConnectionName getHostedServers(int hWnd)
          Returns server object names for the hosted servers accessible to the user.
 IAGSServerConnectionName getInServerConnectionName()
          Returns a server connection name that can be used to connect to the server from within a server process.
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionFactory2
getDefaultHttpTimeout, openFromFile, readConnectionPropertiesFromFile, setDefaultHttpTimeout
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnectionFactory
open
 

Method Detail

getHostedServers

IEnumAGSServerConnectionName getHostedServers(int hWnd)
                                              throws IOException,
                                                     AutomationException
Returns server object names for the hosted servers accessible to the user.

Product Availability

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

Parameters:
hWnd - The hWnd (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IEnumAGSServerConnectionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInServerConnectionName

IAGSServerConnectionName getInServerConnectionName()
                                                   throws IOException,
                                                          AutomationException
Returns a server connection name that can be used to connect to the server from within a server process. Fails if run outside a server process.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.gisclient.IAGSServerConnectionName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.