Show / Hide Table of Contents

Constructor GenerateLayerOption

GenerateLayerOption()

Initializes a new instance of the GenerateLayerOption class for use with generate geodatabase on the geodatabase sync task.

Declaration
public GenerateLayerOption()
Remarks

Creates a new instance with the following values:

  • LayerId = 0
  • QueryOption = UseFilter
  • UseGeometry = true
  • IncludeRelated = false
  • WhereClause = ""

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
Relevant samples
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.

GenerateLayerOption(Int64)

Initializes a new instance of the GenerateLayerOption class with a given layer id for use with generate geodatabase on the geodatabase sync task.

Declaration
public GenerateLayerOption(long layerId)
Parameters
Type Name Description
System.Int64 layerId

A layer id in the service

Remarks

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

  • QueryOption = UseFilter
  • UseGeometry = true
  • IncludeRelated = false
  • WhereClause = ""

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

GenerateLayerOption(Int64, Boolean)

Initializes a new instance of the GenerateLayerOption class for use with generate geodatabase on the geodatabase sync task.

Declaration
public GenerateLayerOption(long layerId, bool includeRelated)
Parameters
Type Name Description
System.Int64 layerId

A layer id in the service.

System.Boolean includeRelated

Indicates if related rows should be included.

Remarks

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

  • QueryOption = UseFilter
  • UseGeometry = true
  • WhereClause = ""

includeRelated only applies when the QueryOption is none.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

GenerateLayerOption(Int64, String)

Initializes a new instance of the GenerateLayerOption class with the supplied layer id and where clause for use with generate geodatabase on the geodatabase sync task.

Declaration
public GenerateLayerOption(long layerId, string whereClause)
Parameters
Type Name Description
System.Int64 layerId

A layer id in the service

System.String whereClause

a where clause to apply to the layer

Remarks

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

  • QueryOption = UseFilter
  • UseGeometry = true
  • IncludeRelated = false

IncludeRelated only applies when the QueryOption is none.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.