Click or drag to resize

GeodatabaseSyncTaskApplyDeltaAsync Method

Imports a geodatabase delta and applies it to the given geodatabase.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public static Task<IReadOnlyList<SyncLayerResult>> ApplyDeltaAsync(
	Geodatabase geodatabase,
	string inputPath
)

Parameters

geodatabase
Type: Esri.ArcGISRuntime.DataGeodatabase
The geodatabase to apply a delta to
inputPath
Type: SystemString
The path and filename to import the delta from

Return Value

Type: TaskIReadOnlyListSyncLayerResult
A task that represents the asynchronous import geodatabase delta operation. The value of the TResult parameter is a collection of SyncLayerResult
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. A "download" delta geodatabase contains the online edits which will be imported to the local geodatabase.

The task returned by this method returns an array of SyncLayerResult.

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