com.esri.arcgis.geodatabase
Interface IEnumReplica

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumReplicaProxy

public interface IEnumReplica
extends Serializable

Provides access to members that enumerate through replica objects.

Remarks

Use IEnumReplica to cycle through replicas in a workspace.

Objects of this type are created through the IWorkspaceReplicas::Replicas property. The enumerator contains a set of IReplica objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IReplica next()
          Retreives the next replica in the enumeration sequence.
 void reset()
          Resets the enumeration sequence to the beginning.
 

Method Detail

next

IReplica next()
              throws IOException,
                     AutomationException
Retreives the next replica in the enumeration sequence.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to 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.