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


IReplicaDataChangesInit.Init Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

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