com.esri.arcgis.gisclient
Interface IAGSServerConnection2

All Superinterfaces:
IAGSServerConnection, Serializable
All Known Subinterfaces:
IAGSServerConnection3
All Known Implementing Classes:
AGSServerConnection

public interface IAGSServerConnection2
extends IAGSServerConnection, 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
 IEnumBSTR getFolders(String reserved)
          Returns an enumeration of folder names beneath the specified folder.
 IAGSEnumServerObjectName getServerObjectNamesEx(String folderName)
          The ServerObjectNames in the GIS server folder.
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnection
getFullName, getName, getServerObjectNames, setFullNameByRef, setName
 

Method Detail

getServerObjectNamesEx

IAGSEnumServerObjectName getServerObjectNamesEx(String folderName)
                                                throws IOException,
                                                       AutomationException
The ServerObjectNames in the GIS server folder.

Product Availability

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

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

getFolders

IEnumBSTR getFolders(String reserved)
                     throws IOException,
                            AutomationException
Returns an enumeration of folder names beneath the specified folder.

Product Availability

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

Parameters:
reserved - The reserved (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.