Click or drag to resize

GeodatabaseSyncTaskUnregisterGeodatabaseAsync Method (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.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public Task UnregisterGeodatabaseAsync(
	Guid syncId
)

Parameters

syncId
Type: SystemGuid
The sync ID of the geodatabase to unregister.

Return Value

Type: 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.
See Also