Generates an upload delta geodatabase file containing all the changes since the last sync.
public static Task<bool> ExportDeltaAsync(Geodatabase geodatabase, string outputPath)
The geodatabase to generate a delta from.
The path and filename to save the generated delta to.
A task that generates a geodatabase delta and has a result type of bool. This bool indicates whether a delta was generated or not.
A delta geodatabase contains the changes that have occurred since a mobile replica Geodatabase was last synchronized with the feature service. See the document Synchronize Replica 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:
Platforms and versions
|.NET Standard 2.0||100.10 - 100.14|
|.NET 6.0||100.13 - 100.14|
|.NET 6.0 Windows||100.13 - 100.14|
|.NET Framework||100.10 - 100.14|
|.NET 5||100.10 - 100.12|
|.NET Core 3.1||100.10 - 100.12|
|Xamarin.Android||100.10 - 100.14|
|Xamarin.iOS||100.10 - 100.14|
|UWP||100.10 - 100.14|