Show / Hide Table of Contents

Class SyncGeodatabaseParameters

The parameters that specify how a geodatabase is synchronized with its ArcGIS feature service using a SyncGeodatabaseJob.

Inheritance
System.Object
SyncGeodatabaseParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class SyncGeodatabaseParameters
Remarks

To generate default parameters that match the geodatabase and its ArcGIS feature service, call CreateDefaultSyncGeodatabaseParametersAsync(Geodatabase). You can then modify the parameters with any desired changes. Alternatively, you can generate an empty set of parameters using SyncGeodatabaseParameters() and set the parameters individually. To create a SyncGeodatabaseJob, pass the parameters to the SyncGeodatabase(SyncGeodatabaseParameters, Geodatabase) method and provide the geodatabase to be synchronized.

Constructors

Name Description
SyncGeodatabaseParameters()

Initializes a new instance of the SyncGeodatabaseParameters class.

Properties

Name Description
GeodatabaseSyncDirection

Gets or sets the synchronization direction that will be used when synchronizing the geodatabase.

KeepGeodatabaseDeltas

Gets or sets a value indicating whether or not the upload or downloaded delta geodatabases will be removed at the end of the sync job.

LayerOptions

Gets a mutable list of SyncLayerOption which identifies sync layer options to include in the sync operation.

ReconcileBranchVersion

Gets or sets a value indicating whether replica branch version automatically reconciles with the default branch upon sync, false otherwise.

RollbackOnFailure

Gets or sets a value indicating whether a sync should roll back on a failure.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

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