GenerateLayerOption.withLayerIdIncludeRelated constructor
Creates a new generate layer option instance for use with generate geodatabase on the geodatabase sync task.
Creates a new instance with the supplied layer ID and includeRelated value and the following values:
- GenerateLayerOption.queryOption = GenerateLayerQueryOption.none
- GenerateLayerOption.useGeometry = true
- GenerateLayerOption.whereClause = ""
includeRelated only applies when the queryOption is none.
Parameters:
layerId
— A layer id in the service.includeRelated
— Indicates if related rows should be included.