Click or drag to resize

GeodatabaseSyncTaskCreateAsync Method (Uri, String)

Creates a geodatabase sync task from an online URI.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public static Task<GeodatabaseSyncTask> CreateAsync(
	Uri serviceUri,
	string apiKey
)

Parameters

serviceUri
Type: SystemUri
A URI to the online feature service info with sync capabilities.
apiKey
Type: SystemString
The unique key generated from ArcGIS Developers website.

Return Value

Type: TaskGeodatabaseSyncTask
The task object representing the asynchronous create operation. The value of the task result is a GeodatabaseSyncTask object.
See Also