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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |