GenerateLayerOption constructor

GenerateLayerOption({
  1. int layerId = 0,
})

Creates a new generate layer option instance with a given layer id for use with generate geodatabase on the geodatabase sync task.

Creates a new instance with the supplied layer ID and the following values:

Parameters:

  • layerId — A layer id in the service.