com.esri.arcgis.geodatabasedistributed
Interface IReplicaDataChangesInit

All Superinterfaces:
Serializable
All Known Subinterfaces:
IReplicaDataChangesInit2
All Known Implementing Classes:
ArchivingDataChanges, CheckOutDataChanges, ReplicationDataChanges

public interface IReplicaDataChangesInit
extends Serializable

Provides access to members that initialize a Replica DataChanges object.

Superseded By

IReplicaDataChangesInit2

Remarks

The IReplicaDataChangesInit interface is used to initialize the CheckOutDataChanges and the ReplicaDataChanges coclasses. Each coclass must be intialized before any of the other interfaces in the coclass can be used.

When To Use

Use the IReplicaDataChangesInit interface to initialize the ReplicaDataChanges coclass when working with single generation replicas. If you are working with multi-generation replicas, use the IReplicaDataChangesInit2 interface to initialize the ReplicaDatachanges coclass.

Product Availability

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


Method Summary
 void init(IReplica replica, IWorkspaceName checkoutWorkspace)
          Initializes the class by using the replica and the replica workspace.
 

Method Detail

init

void init(IReplica replica,
          IWorkspaceName checkoutWorkspace)
          throws IOException,
                 AutomationException
Initializes the class by using the replica and the replica workspace.

Remarks

The init method takes a checkoutWorkspace and a Replica. See IWorkspaceReplicas to see how to get a replica object.

This method is used to initialize replication data changes for check-out replicas. To initialize replication data changes for two way or one way replicas use the IReplicaDataChangesInit2::Init2 method.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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