This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IReplicaEdit Interface > IReplicaEdit.Init Method (ArcObjects .NET 10.4 SDK) |
Init the replica from other replica.
[Visual Basic .NET] Public Sub Init ( _ ByVal otherReplica As IReplica _ )
[C#] public void Init ( IReplica otherReplica );
[C++]
HRESULT Init(
IReplica* otherReplica
);
[C++]
Parameters otherReplica [in]
otherReplica is a parameter of type IReplica
The Init method allows you to initialize a new check-out based on another check-out. This method along with the IWorkspaceReplicasAdmin::RegisterReplica method can be used to create the meta-data for a new check-out. See the Duplicating Check-outs sample in the ArcObjects help for an example of where this can be used.