Tuesday, August 20, 2019

Code snippet: ArcGIS Runtime 100.x Geodatabase Delta Sync

ESRI namespaces

using Esri.ArcGISRuntime.Tasks.Offline;
using Esri.ArcGISRuntime.Data;
using Esri.ArcGISRuntime.Tasks;
using Esri.ArcGISRuntime.Http;



Code snippet

string localGeodatabaseName = @"C:\Data\test.geodatabase";

string deltaGeodatabaseName = @"C:\Deltas\_ags_data{52DwertD40459D02EC197E5EC12C}.geodatabase";

Task<IReadOnlyList<SyncLayerResult>> syncTaskResult = GeodatabaseSyncTask.ImportGeodatabaseDeltaAsync(localGeodatabaseName , deltaGeodatabaseName );

ArcGIS Runtime

1 comment :

  1. I tried this several years ago and had a terrible time with getting all of it to be straight. I eventually made some shorter, some longer and used that layout.

    ReplyDelete

 

© 2011 GIS and Remote Sensing Tools, Tips and more .. ToS | Privacy Policy | Sitemap

About Me