Click or drag to resize

GeodatabaseSyncTaskExportDeltaAsync Method

Generates an upload delta geodatabase file containing all the changes since the last sync.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public static Task<bool> ExportDeltaAsync(
	Geodatabase geodatabase,
	string outputPath
)

Parameters

geodatabase
Type: Esri.ArcGISRuntime.DataGeodatabase
The geodatabase to generate a delta from
outputPath
Type: SystemString
The path and filename to save the generated delta to

Return Value

Type: TaskBoolean
A task that generates a geodatabase delta and has a result type of bool. This bool indicates whether a delta was generated or not.
Remarks

A delta geodatabase contains the changes that have occurred since a mobile replica Geodatabase was last synchronized with the feature service. See https://developers.arcgis.com/rest/services-reference/synchronize-replica.htm for an overview of the delta files used in synchronization. An "upload" delta geodatabase contains the local edits, performed on the user's device, to be sent to the originating feature service.

When you run this task, any local edits in the Geodatabase will be exported to the specified output path. The output path should include the full path and file name (ending in ".geodatabase") for the export.

The delta file created by this method is not sent to the server and has no impact on any subsequent sync job. You can call this method repeatedly without affecting the state of the local geodatabase.

The task returned by this method has a boolean result that indicates whether or not a delta geodatabase was created.

You should not execute more than one sync on a geodatabase at the same time. This includes any operations that export/import deltas from the local Geodatabase:

See Also