GenerateLayerOption

constructor(layerId: Long = 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:

Since

200.1.0

Parameters

layerId

A layer id in the service.


constructor(layerId: Long, includeRelated: Boolean)

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:

includeRelated only applies when the queryOption is none.

Since

200.1.0

Parameters

layerId

A layer id in the service.

includeRelated

Indicates if related rows should be included.


constructor(layerId: Long, whereClause: String)

Creates a new generate layer option instance with the supplied layer id and where clause for use with generate geodatabase on the geodatabase sync task. Creates a new instance with the supplied layer ID and where clause and the following default values:

Since

200.1.0

Parameters

layerId

A layer id in the service.

whereClause

a where clause to apply to the layer.