Enum SyncModel
Specifies the synchronization model for the replica being created: per-layer, per-geodatabase, or none.
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum SyncModel
Remarks
To determine which synchronization model types are supported by a service check the ServiceInfo property to get the SyncCapabilities. If the value is Geodatabase, during a synchronization operation the SyncDirection specified applies to all layers in the geodatabase. If the sync model is Layer, the SyncDirection is defined on a layer-by-layer basis. Sync model None can be used to export the data without creating a replica on the server.
Fields
| Name | Description |
|---|---|
| Geodatabase | Layers within a geodatabase cannot be synchronized independently, the whole geodatabase must be synced. The sync operation and sync direction applies to all the layers in the geodatabase. |
| Layer | Layers within a geodatabase can be synchronized independently of one another. Any subset of the layers can be synchronized when running the sync operation. Also, each layer's sync direction can be set independently. |
| None | The geodatabase is not sync enabled. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |