Method UnregisterGeodatabaseAsync
UnregisterGeodatabaseAsync(Geodatabase)
Unregisters a geodatabase from its source ArcGIS feature service. This removes the services replica id.
Declaration
public Task UnregisterGeodatabaseAsync(Geodatabase geodatabase)
Parameters
Type | Name | Description |
---|---|---|
Geodatabase | geodatabase | A geodatabase to unregister. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task that represents the asynchronous unregister geodatabase operation. |
Remarks
After unregistering a geodatabase it can no longer be synced back to the service. This is often used prior to deleting a local geodatabase. This operation is not related to RegisterGeodatabaseAsync(Geodatabase), which is for registering copies of a sync-enabled geodatabase.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
UnregisterGeodatabaseAsync(Guid)
Unregisters a geodatabase from a service removing the service's replica id. This overload uses the geodatabase's sync ID rather than a reference to the geodatabase itself.
Declaration
public Task UnregisterGeodatabaseAsync(Guid syncId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | syncId | The sync ID of the geodatabase to unregister. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task that represents the asynchronous unregister geodatabase operation. |
Remarks
This method is used to unregister a geodatabase from a service using the sync ID. This is commonly used to enable cleanup of the service after the local geodatabase has already been deleted. See SyncId. After unregistering a geodatabase it can no longer be synced back to the service. This operation is not related to RegisterGeodatabaseAsync(Geodatabase), which is for registering copies of a sync-enabled geodatabase.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.14 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |