com.esri.arcgis.server
Interface IServiceDescriptionArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
IServiceDescriptionArrayProxy

public interface IServiceDescriptionArray
extends Serializable

Provides access to members that control the contents of web services description array.

When To Use

The IServiceDescriptionArray interface is intended only for use by the web service catalog template applications that are included as part of the Application Developer Framework for ArcGIS Server. To learn more about these templates, refer to the ArcGIS Server developer documentation.

Product Availability

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


Method Summary
 void add(IServiceDescription element)
          Add an element to the array.
 int getCount()
          The number of items in the array.
 IServiceDescription getElement(int index)
          The Element at the specified index.
 void insert(int index, IServiceDescription element)
          Insert an element into the array.
 void remove(int index)
          Remove an element from the array.
 void removeAll()
          Remove all elements from the array.
 void setElement(int index, IServiceDescription element)
          The Element at the specified index.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of items in the array.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getElement

IServiceDescription getElement(int index)
                               throws IOException,
                                      AutomationException
The Element 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.IServiceDescription
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(IServiceDescription element)
         throws IOException,
                AutomationException
Add an element to the array.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

remove

void remove(int index)
            throws IOException,
                   AutomationException
Remove an element from the array.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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
Remove all elements from the array.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

insert

void insert(int index,
            IServiceDescription element)
            throws IOException,
                   AutomationException
Insert an element into the array.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setElement

void setElement(int index,
                IServiceDescription element)
                throws IOException,
                       AutomationException
The Element at the specified index.

Product Availability

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

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