SyncGeodatabaseParameters

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

Since

200.1.0

Constructors

Link copied to clipboard
constructor()

Create a parameters object for use with the sync method on the geodatabase sync task.

Properties

Link copied to clipboard

The synchronization direction that will be used when synchronizing the geodatabase. This is only used if the Geodatabase has a sync model of SyncModel.Geodatabase, it is ignored for SyncModel.Layer.

Link copied to clipboard

Indicates whether or not the upload or downloaded server delta geodatabases will be removed at the end of the sync job. A delta geodatabase is a file that contains the changes that have occurred since a mobile replica Geodatabase was last synchronized with its feature service. See [https://developers.arcgis.com/rest/services-reference/enterprise/synchronize-replica.htm] for an overview of the delta files used in synchronization.

Link copied to clipboard

The list of sync layer options to include in the sync operation.

Link copied to clipboard

True if replica branch version automatically reconciles with the default branch upon sync, false otherwise. This parameter is supported by feature services that have the SyncCapabilities.supportsBranchVersionReconcile property set to true.

Link copied to clipboard

Indicates if a sync should roll back on a failure.