Class GeodatabaseSyncTask
Task for generating and syncing offline data from an ArcGIS Server FeatureService.
Implements
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GeodatabaseSyncTask : IApiKeyResource
Properties
| Name | Description |
|---|---|
| ApiKey | Gets or sets the unique key generated from ArcGIS Developers website. |
| ServiceInfo | Gets the ArcGISFeatureServiceInfo that represents the feature service to synchronize with. |
| Uri | Gets the uri of the feature service to synchronize with. |
Methods
| Name | Description |
|---|---|
| ApplyDeltaAsync(Geodatabase, String) | Imports a geodatabase delta and applies it to the given geodatabase. |
| CreateAsync(Uri) | Creates a geodatabase sync task from an online URI. |
| CreateAsync(Uri, String) | Creates a geodatabase sync task from an online URI. |
| CreateDefaultGenerateGeodatabaseParametersAsync(Envelope) | Creates default parameters for a generate geodatabase. |
| CreateDefaultSyncGeodatabaseParametersAsync(Geodatabase) | Creates default parameters for a sync geodatabase. |
| CreateDefaultSyncGeodatabaseParametersAsync(Geodatabase, SyncDirection) | Creates default parameters for a sync geodatabase using the given sync direction. |
| ExportDeltaAsync(Geodatabase, String) | Generates an upload delta geodatabase file containing all the changes since the last sync. |
| GenerateGeodatabase(GenerateGeodatabaseParameters, String) | Creates a generate geodatabase job that when started will generate a geodatabase from a service. |
| RegisterGeodatabaseAsync(Geodatabase) | Registers a copy of a sync enabled geodatabase with a service to allow the copy to sync changes. |
| SyncGeodatabase(SyncDirection, Boolean, Geodatabase) | Creates a job to synchronize a geodatabase back to its service using the given sync direction and rollback on failure boolean value. |
| SyncGeodatabase(SyncGeodatabaseParameters, Geodatabase) | Creates a job to synchronize a geodatabase back to a service. |
| UnregisterGeodatabaseAsync(Geodatabase) | Unregisters a geodatabase from the server. |
| UnregisterGeodatabaseAsync(Guid) | Unregisters a geodatabase from a service removing the service's replica id. This overload uses the geodatabase's sync ID rather than a reference to the geodatabase itself. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |