Show / Hide Table of Contents

Method ApplyDeltaAsync

ApplyDeltaAsync(Geodatabase, String)

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

Declaration
public static Task<IReadOnlyList<SyncLayerResult>> ApplyDeltaAsync(Geodatabase geodatabase, string inputPath)
Parameters
Type Name Description
Geodatabase geodatabase

The geodatabase to apply a delta to.

System.String inputPath

The path and filename to import the delta from.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<SyncLayerResult>>

A task that represents the asynchronous import geodatabase delta operation. The value of the task result 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:

  • ExportDeltaAsync(Geodatabase, String)
  • ApplyDeltaAsync(Geodatabase, String)
  • SyncGeodatabaseJob
  • OfflineMapSyncJob

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.8 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.8 - 100.12
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 100.15
In This Article
Back to top Copyright © 2022 Esri.