GenerateLayerOption

An object that is used in conjunction with GenerateGeodatabaseParameters to identify what layers or tables to take offline. This object allows you to set properties on a layer or table to specify what features to take offline.

Since

200.1.0

Constructors

Link copied to clipboard
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:

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:

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:

Properties

Link copied to clipboard

Indicates if only related rows are added to the specific GenerateLayerOption.layerId in the generated geodatabase. This property is only applicable if your data has relationship classes and when GenerateLayerOption.queryOption is GenerateLayerQueryOption.None.

Link copied to clipboard

The layer or table Id to be included in the service generated geodatabase. This defaults to 0.

Link copied to clipboard

Whether all, filtered or no features will be copied from the server when creating a geodatabase. Determines how other properties of the GenerateLayerOption are applicable, valid combinations are:

Link copied to clipboard

Indicates if GenerateGeodatabaseParameters.extent is used to filter the features for downloading. This property is only applicable if GenerateLayerOption.queryOption is GenerateLayerQueryOption.UseFilter.

Link copied to clipboard

The where clause of the generate layer option. The where clause only applies when GenerateLayerOption.queryOption is GenerateLayerQueryOption.UseFilter.

Functions

Link copied to clipboard