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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |
Relevant samples
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 |
|---|---|---|
| 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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |
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 |
|---|---|---|
| Int64 | layerId | A layer id in the service. |
| 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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |
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 |
|---|---|---|
| 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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |