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


IImportDataChanges2.ImportDataChanges2 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > II > IImportDataChanges2 Interface > IImportDataChanges2.ImportDataChanges2 Method
ArcGIS Developer Help

IImportDataChanges2.ImportDataChanges2 Method

Imports data.

[Visual Basic .NET]
Public Function ImportDataChanges2 ( _
    ByVal WorkspaceName As IWorkspaceName, _
    ByVal DeltaDataChanges As IDeltaDataChanges, _
    ByVal ReconcileWithParent As Boolean, _
    ByVal reconcilePolicy As esriReplicaReconcilePolicyType, _
    ByVal columnLevel As Boolean, _
    ByVal createOIDMappingTable As Boolean _
) As Boolean
[C#]
public bool ImportDataChanges2 (
    IWorkspaceName WorkspaceName,
    IDeltaDataChanges DeltaDataChanges,
    bool ReconcileWithParent,
    esriReplicaReconcilePolicyType reconcilePolicy,
    bool columnLevel,
    bool createOIDMappingTable
);
[C++]
HRESULT ImportDataChanges2(
  IWorkspaceName* WorkspaceName,
  IDeltaDataChanges* DeltaDataChanges,
  VARIANT_BOOL ReconcileWithParent,
  esriReplicaReconcilePolicyType reconcilePolicy,
  VARIANT_BOOL columnLevel,
  VARIANT_BOOL createOIDMappingTable
);
[C++]
Parameters
WorkspaceName [in]

WorkspaceName is a parameter of type IWorkspaceName* DeltaDataChanges [in]
DeltaDataChanges is a parameter of type IDeltaDataChanges* ReconcileWithParent [in]
ReconcileWithParent is a parameter of type bool reconcilePolicy [in]
reconcilePolicy is a parameter of type esriReplicaReconcilePolicyType columnLevel [in]
columnLevel is a parameter of type bool createOIDMappingTable [in]
createOIDMappingTable is a parameter of type bool

Product Availability

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

Remarks

The ImportDataChange2 method imports edits into replica geodatabases from delta files. See the DataChangesExporter coclass and the ReplicationDataChanges coclass for more information on exporting delta files from replicas.

The WorkspaceName argument refers to the ArcSDE geodatabase into which the changes will be imported. The DeltaDataChanges argument references the delta file.  See the DeltaDataChanges coclass for more information.

The ReconcilePolicy can be used to define how conflicts will be handled if they are detected during the import.  See the esriReplicaReconcilePolicy enumeration for more information.

This method returns TRUE if conflicts are detected and FALSE if no conflicts are detected on import.

See Also

IImportDataChanges2 Interface