ArcGIS Pro 2.9 API Reference Guide
GetCanGenerateReplicas Method

ArcGIS.Desktop.Mapping.Offline Namespace > GenerateOfflineMap Class : GetCanGenerateReplicas Method
The map to check for sync-enabled content. Connected version must be default.
Gets whether the map contains sync-enabled content. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool GetCanGenerateReplicas( 
   Map map
)
Public Function GetCanGenerateReplicas( _
   ByVal map As Map _
) As Boolean

Parameters

map
The map to check for sync-enabled content. Connected version must be default.

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Map cannot be null
Remarks
Sync-enabled content refers to content in the map being sourced from sync-enabled feature services. Note: if the sync-enabled content is from a branch versioned feature service then the branch version must be the default version.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GenerateOfflineMap Class
GenerateOfflineMap Members