com.esri.arcgis.gisclient
Interface IAGSServerConnection3

All Superinterfaces:
IAGSServerConnection, IAGSServerConnection2, Serializable
All Known Implementing Classes:
AGSServerConnection

public interface IAGSServerConnection3
extends IAGSServerConnection2, Serializable

Provides access to members that have information about the GIS server connection..

Product Availability

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


Method Summary
 IStream getFile(String uRL)
          Retrieves a file from the specified url.
 Object getFileAsVariant(String uRL)
          Retrieves the stream as variant from the specified url.
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnection2
getFolders, getServerObjectNamesEx
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnection
getFullName, getName, getServerObjectNames, setFullNameByRef, setName
 

Method Detail

getFile

IStream getFile(String uRL)
                throws IOException,
                       AutomationException
Retrieves a file from the specified url.

Product Availability

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

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

getFileAsVariant

Object getFileAsVariant(String uRL)
                        throws IOException,
                               AutomationException
Retrieves the stream as variant from the specified url.

Product Availability

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

Parameters:
uRL - The uRL (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.