com.esri.arcgis.server
Interface IGISServers

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGISServersProxy

public interface IGISServers
extends Serializable

Provides access to members that manage the collection of IGISServer objects.

Product Availability

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


Method Summary
 void add(IGISServer server)
          Adds an IGISServer object to the end of the collection.
 int getCount()
          Gets the number of IGISServer objects in the collection.
 IGISServer getElement(int index)
          Returns the IGISServer at the specified index.
 void insert(int index, IGISServer server)
          Inserts an IGISServer into the collection at the specified index.
 void remove(int index)
          Removes the IGISServer at the specified index.
 void removeAll()
          Removes all of the IGISServer objects in the collection.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
Gets the number of IGISServer objects in the collection.

Product Availability

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

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

getElement

IGISServer getElement(int index)
                      throws IOException,
                             AutomationException
Returns the IGISServer at the specified index.

Product Availability

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

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

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the IGISServer at the specified index.

Product Availability

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

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

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all of the IGISServer objects in the collection.

Product Availability

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

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

add

void add(IGISServer server)
         throws IOException,
                AutomationException
Adds an IGISServer object to the end of the collection.

Product Availability

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

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

insert

void insert(int index,
            IGISServer server)
            throws IOException,
                   AutomationException
Inserts an IGISServer into the collection at the specified index.

Product Availability

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

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