com.esri.arcgis.catalog
Interface IGxAGSObject

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxAGSCatalog, GxAGSGeoDataServer, GxAGSGeometry, GxAGSGeoprocessing, GxAGSGlobe, GxAGSImage, GxAGSLocator, GxAGSMap

public interface IGxAGSObject
extends Serializable

Provides access to members of GxObject that represents a ArcGIS Server (AGS) object.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void editServerObjectProperties(int hParent)
          Presents a modal dialog to allow editing the properties of the server object.
 IAGSServerObjectName getAGSServerObjectName()
          The associated AGS server object name.
 int getNumInstancesInUse()
          The number of instances in use.
 int getNumInstancesRunning()
          The number of instances running.
 String getStatus()
          The status of the server object.
 void setAGSServerObjectNameByRef(IAGSServerObjectName agsObjectName)
          The associated AGS server object name.
 

Method Detail

getAGSServerObjectName

IAGSServerObjectName getAGSServerObjectName()
                                            throws IOException,
                                                   AutomationException
The associated AGS server object name.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setAGSServerObjectNameByRef

void setAGSServerObjectNameByRef(IAGSServerObjectName agsObjectName)
                                 throws IOException,
                                        AutomationException
The associated AGS server object name.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

editServerObjectProperties

void editServerObjectProperties(int hParent)
                                throws IOException,
                                       AutomationException
Presents a modal dialog to allow editing the properties of the server object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
hParent - The hParent (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatus

String getStatus()
                 throws IOException,
                        AutomationException
The status of the server object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The status
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumInstancesRunning

int getNumInstancesRunning()
                           throws IOException,
                                  AutomationException
The number of instances running.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The number
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumInstancesInUse

int getNumInstancesInUse()
                         throws IOException,
                                AutomationException
The number of instances in use.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The number
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.