|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReplicaDataChangesInit2
Provides access to members that initialize a multi-generation Replica DataChanges object.
The IReplicaDataChangesInit2 interface is used to initialize the ReplicaDataChanges coclass. The coclass must be intialized before any of the other interfaces in the coclass can be used.
IReplicaDataChangesInit2::Init2 method should be used when exporting data changes from a two way or one way replica. When exporting edits from a check-out replica use the IReplicaDatachangesInit::Init method.
Method Summary | |
---|---|
void |
init2(IReplica replica,
IWorkspaceName checkoutWorkspace,
int genOption)
Initializes the class by using the replica, generation option and the replica workspace. |
Methods inherited from interface com.esri.arcgis.geodatabasedistributed.IReplicaDataChangesInit |
---|
init |
Method Detail |
---|
void init2(IReplica replica, IWorkspaceName checkoutWorkspace, int genOption) throws IOException, AutomationException
This method is used to initialize replication data changes for two way or one way replicas. To initialize replication data changes for check-outs use the IReplicaDataChangesInit::Init method.
The init2 method takes a replica geodatabase, a Replica, and a GenOption. The Replica defines the replica from which to export the data changes. See IWorkspaceReplicas to see how to get a replica object. See the esriExportGenerationsOption enumeration for more information.
The GenOption parameter uses the esriExportGenerationsOption enumeration to specify what data changes to export. You may choose to export only unacknowledged data change, new data changes, all data changes, or no data changes. See the esriExportGenerationsOptions enumeration for more information.
replica
- A reference to a com.esri.arcgis.geodatabase.IReplica (in)checkoutWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)genOption
- A com.esri.arcgis.geodatabasedistributed.esriExportGenerationsOption constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |