unregisterGeodatabase

suspend fun unregisterGeodatabase(geodatabase: Geodatabase): Result<Unit>

Unregisters a geodatabase from its source ArcGIS feature service. This removes the services replica id. 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 GeodatabaseSyncTask.registerSyncEnabledGeodatabase(Geodatabase), which is for registering copies of a sync-enabled geodatabase.

Return

Returns a task that will unregister a geodatabase, the task does not contain a return value.

Since

200.1.0


suspend fun unregisterGeodatabase(syncId: Guid): Result<Unit>

Unregisters a geodatabase from its source ArcGIS feature service using the geodatabases sync ID. This removes the services replica id. 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 Geodatabase.syncId. After unregistering a geodatabase it can no longer be synced back to the service. This operation is not related to GeodatabaseSyncTask.registerSyncEnabledGeodatabase(Geodatabase), which is for registering copies of a sync-enabled geodatabase.

Return

Returns a task that will unregister a geodatabase, the task does not contain a return value. This task will fail if the unregister process is unsuccessful.

Since

200.1.0