This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IR > IReplicaDataChangesInit Interface > IReplicaDataChangesInit.Init Method (ArcObjects .NET 10.4 SDK) |
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
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.