Skip To Content ArcGIS for Developers Sign In Dashboard

Enums.GenerateLayerQueryOption enumeration

GenerateLayerQueryOption determines which features are copied from the server when generating a geodatabase.

GenerateLayerQueryOption can be one of:

ValueDescription
Enums.GenerateLayerQueryOptionUnknown (-1)An unknown query option. Normally the result when an error occurs.
Enums.GenerateLayerQueryOptionAll (0)All features are copied from the server when creating a geodatabase.
Enums.GenerateLayerQueryOptionNone (1)When combined with GenerateLayerOption.includeRelated, 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.
Enums.GenerateLayerQueryOptionUseFilter (2)Features satisfying the criteria imposed by the GenerateLayerOption.whereClause and GenerateLayerOption.useGeometry properties are copied from the server when creating a geodatabase.

Feedback on this topic?