Initializes the class by using the replica, generation option and the replica workspace.
[Visual Basic .NET] Public Sub Init2 ( _ ByVal Replica As IReplica, _ ByVal checkoutWorkspace As IWorkspaceName, _ ByVal GenOption As esriExportGenerationsOption _ )
[C#] public void Init2 ( IReplica Replica, IWorkspaceName checkoutWorkspace, esriExportGenerationsOption GenOption );
[C++]
HRESULT Init2(
IReplica* Replica,
IWorkspaceName* checkoutWorkspace,
esriExportGenerationsOption GenOption
);
[C++]Parameters
Replica [in]Replica is a parameter of type IReplica
checkoutWorkspace [in]checkoutWorkspace is a parameter of type IWorkspaceName
GenOption [in]GenOption is a parameter of type esriExportGenerationsOption
Product Availability
Remarks
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.