Method CreateDefaultGenerateGeodatabaseParametersAsync
CreateDefaultGenerateGeodatabaseParametersAsync(Envelope)
Creates default parameters for a generate geodatabase job.
Declaration
public Task<GenerateGeodatabaseParameters> CreateDefaultGenerateGeodatabaseParametersAsync(Envelope extent)
Parameters
Type | Name | Description |
---|---|---|
Envelope | extent | The extent of the data to be included in the generated geodatabase. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GenerateGeodatabaseParameters> | A task that represents the asynchronous create default generate geodatabase parameters operation. The value of the TResult parameter is the GenerateGeodatabaseParameters. |
Remarks
This will populate the parameters with values matching what the service supports. For example if the service does not
support Layer then Geodatabase will be used and all layers from the service will be included.
The extent
will be the service's full extent. Attachments are included by default. The output
SpatialReference is defined by the spatial reference of the provided extent.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
CreateDefaultGenerateGeodatabaseParametersAsync(Geometry)
Creates default parameters to generate and download a geodatabase using the GenerateGeodatabaseJob.
Declaration
public Task<GenerateGeodatabaseParameters> CreateDefaultGenerateGeodatabaseParametersAsync(Geometry extent)
Parameters
Type | Name | Description |
---|---|---|
Geometry | extent | The extent of the data to be included in the generated geodatabase. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<GenerateGeodatabaseParameters> | A task that represents the asynchronous create default generate geodatabase parameters operation. The value of the TResult parameter is the GenerateGeodatabaseParameters. |
Remarks
This populates the parameters with values that match the feature service. For example, if the service does not support Layer then Geodatabase is used and all layers from the service are included. Attachments are included by default, but related tables/layers are not included. Output features are in the spatial reference of the given extent.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |