This document is archived and information here might be outdated.  Recommended version.


IReplicaDataChangesInit.Init Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IR > IReplicaDataChangesInit Interface > IReplicaDataChangesInit.Init Method
ArcGIS Developer Help

IReplicaDataChangesInit.Init Method

Initializes the class by using the replica and the replica workspace.

[Visual Basic .NET]
Public Sub Init ( _
    ByVal Replica As IReplica, _
    ByVal checkoutWorkspace As IWorkspaceName _
)
[C#]
public void Init (
    IReplica Replica,
    IWorkspaceName checkoutWorkspace
);
[C++]
HRESULT Init(
  IReplica* Replica,
  IWorkspaceName* checkoutWorkspace
);
[C++]
Parameters
Replica [in]

Replica is a parameter of type IReplica* checkoutWorkspace [in]
checkoutWorkspace is a parameter of type IWorkspaceName*

Product Availability

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

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.

See Also

IReplicaDataChangesInit Interface