Method ExportDeltaAsync
ExportDeltaAsync(Geodatabase, String)
Generates an upload delta geodatabase file containing all the changes since the last sync.
Declaration
public static Task<bool> ExportDeltaAsync(Geodatabase geodatabase, string outputPath)
Parameters
Type | Name | Description |
---|---|---|
Geodatabase | geodatabase | The geodatabase to generate a delta from. |
System.String | outputPath | The path and filename to save the generated delta to. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> | 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 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:
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.10 - 200.6 |
Xamarin.Android | 100.10 - 100.15 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.6 |