com.esri.arcgis.geodatabase
Interface IGPReplicas

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPReplicas

public interface IGPReplicas
extends Serializable

Provides access to the GPReplicas Interface.

Product Availability

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


Method Summary
 void add(IGPReplica replica)
          Adds a version info.
 int getCount()
          The GPReplica count.
 IGPReplica getElement(int index)
          The GPReplica at the specified position.
 void insert(int index, IGPReplica replica)
          Adds a GPReplica at the specified position.
 void remove(int index)
          Removes the GPReplica at the specified position.
 void removeAll()
          Removes all GPReplicas.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The GPReplica count.

Remarks

The count of the GPReplicas in the enumeration.

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

IGPReplica getElement(int index)
                      throws IOException,
                             AutomationException
The GPReplica at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPReplica
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 GPReplica at the specified position.

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 GPReplicas.

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(IGPReplica replica)
         throws IOException,
                AutomationException
Adds a version info.

Product Availability

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

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

insert

void insert(int index,
            IGPReplica replica)
            throws IOException,
                   AutomationException
Adds a GPReplica at the specified position.

Product Availability

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

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