createSyncGeodatabaseJob

fun createSyncGeodatabaseJob(syncDirection: SyncDirection, rollbackOnFailure: Boolean, geodatabase: Geodatabase): SyncGeodatabaseJob

Returns a job to synchronize a geodatabase back to its source ArcGIS feature service using the specified sync direction and rollback on failure boolean value. If the given sync direction is not compatible with the geodatabase sync task's feature service, the returned job will fail.

You should not execute more than one sync on a particular geodatabase at the same time. This includes any operations that export or import deltas from the local Geodatabase, which are:

Return

A job to synchronize a geodatabase.

Since

200.1.0


Returns a job to synchronize a geodatabase back to its source ArcGIS feature service. For a successfully completed job the job's result returns an array of SyncLayerResult, typically the array is empty. If individual edits failed then the result array provides these errors grouped by each table using SyncLayerResult instances which in turn contain each edit error.

You should not execute more than one sync on a particular geodatabase at the same time. This includes any operations that export or import deltas from the local Geodatabase, which are:

Return

A job to synchronize a geodatabase.

Since

200.1.0