com.esri.arcgis.server
Interface IEnumServerDirectory

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumServerDirectoryProxy

public interface IEnumServerDirectory
extends Serializable

Provides access to members that enumerate through ServerDirectories.

Product Availability

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


Method Summary
 int getCount()
          The number of ServerDirectories in the enumeration.
 IServerDirectory next()
          Returns the next ServerDirectory in the enumeration.
 void reset()
          Starts the enumeration at the beginning.
 

Method Detail

next

IServerDirectory next()
                      throws IOException,
                             AutomationException
Returns the next ServerDirectory in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

void reset()
           throws IOException,
                  AutomationException
Starts the enumeration at the beginning.

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.

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of ServerDirectories in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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