Class SyncGeodatabaseJob
The SyncGeodatabaseJob synchronizes changes between a local geodatabase and its sync-enabled ArcGIS feature service.
Inheritance
System.Object
    
    SyncGeodatabaseJob
  
      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 SyncGeodatabaseJob : Job<IReadOnlyList<SyncLayerResult>>
  Remarks
To make a SyncGeodatabaseJob, use the GeodatabaseSyncTask as follows:
- Create and load the GeodatabaseSyncTask with the Source.
 - Obtain the default SyncGeodatabaseParameters for the geodatabase by calling CreateDefaultSyncGeodatabaseParametersAsync(Geodatabase).
 - Modify the SyncGeodatabaseParameters as required. For example, specify the synchronization direction.
 - Use the SyncGeodatabaseParameters to create a SyncGeodatabaseJob by calling SyncGeodatabase(SyncGeodatabaseParameters, Geodatabase)).
 
Start the SyncGeodatabaseJob and monitor progress. On completion, examine the SyncLayerResult from the GetResultAsync() to determine whether the synchronization was successful.
Properties
| Name | Description | 
|---|---|
| GeodatabaseDeltaInfo | Gets an object containing information on geodatabase upload and download delta files.  | 
      
Methods
| Name | Description | 
|---|---|
| FromJson(String) | Creates a job from JSON.  | 
      
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
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.