Show / Hide Table of Contents

Class GeodatabaseSyncTask

Task for generating and syncing offline data from an ArcGIS Server FeatureService.

Inheritance
Object
GeodatabaseSyncTask
Implements
IApiKeyResource
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0

Relevant samples

Edit and sync features: Synchronize offline edits with a feature service.
Generate geodatabase: Generate a local geodatabase from an online feature service.
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.
In This Article
Back to top Copyright © 2022 Esri.