Skip To Content ArcGIS for Developers Sign In Dashboard

GenerateLayerQueryOption Class

(Esri::ArcGISRuntime::GenerateLayerQueryOption)

Enumerates sync model. More...

Since: Esri::ArcGISRuntime 100.1

Detailed Description

Enumerates sync model.

SyncModel indicates whether sync options are applied for the whole mobile geodatabase or for each layer or table that is synced. SyncModel can be one of:

ValueDescription
SyncModel::None (0)No sync model is defined.
SyncModel::Geodatabase (1)One set of sync options applies for the whole geodatabase.
SyncModel::Layer (2)Each layer in the geodatabase has its own sync options. See GenerateGeodatabaseParameters::setLayerOptions and GenerateLayerOption.

/*!

Enumerates generate layer query options.

GenerateLayerQueryOption determines which features are copied from the server when generating a geodatabase. GenerateLayerQueryOption can be one of:

ValueDescription
GenerateLayerQueryOption::Unknown (-1)An unknown query option. Normally the result when an error occurs.
GenerateLayerQueryOption::All (0)All features are copied from the server when creating a geodatabase.
GenerateLayerQueryOption::None (1)When combined with GenerateLayerOption::isIncludeRelated, if false, no features are copied from the server when creating a geodatabase. When true, only features that are in a relationship are copied. When used in conjunction with upload-only synchronization, this enables a faster upload scenario where new features are only sent to the server and none are downloaded.
GenerateLayerQueryOption::UseFilter (2)Features satisfying the criteria imposed by the GenerateLayerOption::whereClause and GenerateLayerOption::isUseGeometry properties are copied from the server when creating a geodatabase.

Feedback on this topic?