GenerateLayerQueryOption determines which features are copied from the server when generating a geodatabase.
GenerateLayerQueryOption can be one of:
(-1) An unknown query option. Normally the result when an error occurs.
(0) All features are copied from the server when creating a geodatabase.
(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.
(2) Features satisfying the criteria imposed by the GenerateLayerOption.whereClause and GenerateLayerOption.useGeometry properties are copied from the server when creating a geodatabase.