Connect to a service and list versions of the geodatabase.
As part of a multi-user editing scenario, you can check with the server to see how many versions of the geodatabase are outstanding before syncing.
When the sample loads, a list of geodatabase versions and their properties will be displayed.
- Create a geoprocessing task referring to a GPServer with a ListVersions task.
- Use the task to create default parameters.
- Use the created parameters to create a job.
- Run the job to get a
GeoprocessingResult. - Get a list of geoprocessing features from the Versions output parameter of the results.
- Format the geodatabase versions for display.
- GeoprocessingFeatures
- GeoprocessingFeatures.Features
- GeoprocessingJob
- GeoprocessingJob.GetResultAsync
- GeoprocessingParameters
- GeoprocessingResult
- GeoprocessingResult.Outputs
- GeoprocessingTask
- GeoprocessingTask.CreateDefaultParametersAsync
- GeoprocessingTask.CreateJob
The sample uses a sample geoprocessing service hosted on ArcGIS Online.
ArcGIS Server does not include a geoprocessing service for listing geodatabase versions. Instead, you must configure and publish one yourself using ArcGIS Pro. To learn more about geoprocessing services see Web tools and geoprocessing services in the ArcGIS Server documentation.
conflict resolution, data management, database, multi-user, sync, version
