com.esri.arcgis.gisclient
Interface IAGSServerConnection4

All Superinterfaces:
IAGSServerConnection, IAGSServerConnection2, IAGSServerConnection3, Serializable

public interface IAGSServerConnection4
extends IAGSServerConnection3, 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
 IItemInfo getItemInfo(String name, String type, String soeType)
          Returns the Item Info of a service.
 IPropertySet getMetadata(String name, String type, String soeType)
          Returns the metadata of a service.
 Object getServerVersion(int versionType)
          Returns the server version.
 String getServiceURL(int urlType, IAGSServerObjectName service)
          Returns the URL for a service in the server behind this connection.
 
Methods inherited from interface com.esri.arcgis.gisclient.IAGSServerConnection3
getFile, getFileAsVariant
 
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

getServerVersion

Object getServerVersion(int versionType)
                        throws IOException,
                               AutomationException
Returns the server version.

Product Availability

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

Parameters:
versionType - A com.esri.arcgis.gisclient.esriAGSServerVersionType constant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceURL

String getServiceURL(int urlType,
                     IAGSServerObjectName service)
                     throws IOException,
                            AutomationException
Returns the URL for a service in the server behind this connection.

Product Availability

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

Parameters:
urlType - A com.esri.arcgis.gisclient.esriServiceURLType constant (in)
service - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
Returns:
The uRL
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemInfo

IItemInfo getItemInfo(String name,
                      String type,
                      String soeType)
                      throws IOException,
                             AutomationException
Returns the Item Info of a service.

Product Availability

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

Parameters:
name - The name (in)
type - The type (in)
soeType - The soeType (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IItemInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetadata

IPropertySet getMetadata(String name,
                         String type,
                         String soeType)
                         throws IOException,
                                AutomationException
Returns the metadata of a service.

Product Availability

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

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