ArcGIS Pro 2.9 API Reference Guide
GetCanRemoveReplicas Method

ArcGIS.Desktop.Mapping.Offline Namespace > GenerateOfflineMap Class : GetCanRemoveReplicas Method
The map to check for syncable content
Gets whether the map contains local syncable content that can be unregistered with the feature service. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool GetCanRemoveReplicas( 
   Map map
)
Public Function GetCanRemoveReplicas( _
   ByVal map As Map _
) As Boolean

Parameters

map
The map to check for syncable content

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Map cannot be null
Remarks
The function does not check if a local replica has been previously unregistered.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GenerateOfflineMap Class
GenerateOfflineMap Members