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


IExportDataChanges.ExportDataChanges Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IE > IExportDataChanges Interface > IExportDataChanges.ExportDataChanges Method
ArcGIS Developer Help

IExportDataChanges.ExportDataChanges Method

Exports the edits to a delta file.

[Visual Basic .NET]
Public Sub ExportDataChanges ( _
    ByVal exportFileName As String, _
    ByVal exportOption As esriExportDataChangesOption, _
    ByVal DataChanges As IDataChanges, _
    ByVal OverwriteIfExists As Boolean _
)
[C#]
public void ExportDataChanges (
    string exportFileName,
    esriExportDataChangesOption exportOption,
    IDataChanges DataChanges,
    bool OverwriteIfExists
);
[C++]
HRESULT ExportDataChanges(
  BSTR exportFileName,
  esriExportDataChangesOption exportOption,
  IDataChanges* DataChanges,
  VARIANT_BOOL OverwriteIfExists
);
[C++]
Parameters
exportFileName [in]

exportFileName is a parameter of type BSTR exportOption [in]
exportOption is a parameter of type esriExportDataChangesOption DataChanges [in]
DataChanges is a parameter of type IDataChanges* OverwriteIfExists [in]
OverwriteIfExists is a parameter of type bool

Product Availability

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

Remarks

The ExportDataChanges method exports the edits from a check-out/check-in replica or source and target version to a delta file. To export edits from a two way or one way replica use the methods available of the IExportDataChanges2 interface.

The exportoption parameter controls whether the result will be XML, a delta database, or a delta file geodatabase.  The datachanges parameter must reference a CheckoutDataChanges object to export edits in a check-out or a VersionDataChanges object to export edits between source and target versions.   The overwriteexists parameter indicates if the target database will be overwritten during the export.

 


 

See Also

IExportDataChanges Interface