ArcObjects Library Reference (GeoDatabaseDistributed)  

ReplicationAgent CoClass

A class used to perform replica operations.

Product Availability

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


Interfaces Description
IReplicationAgent Provides access to replica operations.
IReplicationAgent2 Provides access to replica operations.
IReplicationAgentCancelControl Provides access to methods that control how cancellation of methods in the replication agent.

Event Interfaces

Interfaces Description
IFeatureProgress (default) Provides access to members used to handle events from converting featureclass/table.


The ReplicatonAgent coClass is a software component that can be used to implement replication commands and agents (services). The fundamental unit of replication is a replica pair consisting of a parent replica and a child replica. A ReplicationAgent works with a pair of GeoDataServers. It can be used to create and synchronize replicas within the two GeoDataServers. The ReplicaAgrent also allows you to perform data extration.

If both GeoDataServers are can't be accessed on the same network they are considered disconnected. In this environment, you can perform replication operations by exporting, transporting and importing files. The GeoDataServer class has methods to support these operations.

Working with Events

[Visual Basic 6.0]

When working with ReplicationAgent's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pReplicationAgent as ReplicationAgent