ArcObjects Library Reference (GeoDatabaseDistributed)  

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,
  VARIANT_BOOL* pConflictDetected
);
[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 VARIANT_BOOL reconcilePolicy [in]

  reconcilePolicy is a parameter of type esriReplicaReconcilePolicyType

columnLevel [in]   columnLevel is a parameter of type VARIANT_BOOL createOIDMappingTable [in]   createOIDMappingTable is a parameter of type VARIANT_BOOL pConflictDetected [out, retval]   pConflictDetected is a parameter of type VARIANT_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