Show / Hide Table of Contents

Method RegisterGeodatabaseAsync

RegisterGeodatabaseAsync(Geodatabase)

Registers a copy of a sync-enabled geodatabase with an ArcGIS feature service to allow the copy to synchronize changes.

Declaration
public Task RegisterGeodatabaseAsync(Geodatabase geodatabase)
Parameters
Type Name Description
Geodatabase geodatabase

a geodatabase to register.

Returns
Type Description
System.Threading.Tasks.Task

A task that represents the asynchronous register operation.

Remarks

This method is typically used as part of services pattern workflow, sometimes known as a pre-planned workflow. A sync-enabled geodatabase is generated centrally and not modified or synced. Copies of this original geodatabase are distributed and loaded onto each user's device. The copy must first be registered with the service to allow the server to identify changes in subsequent sync operations. One of the main benefits of this workflow is a reduction in server load to generate geodatabases for many clients. It is important not to sync the copy before registering to ensure the server can maintain consistent state on each copy. This operation is not the opposite of UnregisterGeodatabaseAsync(Geodatabase) which is used to remove a geodatabase from the service prior to deletion.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.