Show / Hide Table of Contents

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
GenerateGeodatabase(GenerateGeodatabaseParameters, String)

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
Relevant samples
Edit and sync features: Synchronize offline edits with a feature service.
Generate geodatabase: Generate a local geodatabase from an online feature service.
Geodatabase transactions: Use transactions to manage how changes are committed to a geodatabase.

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
GenerateGeodatabase(GenerateGeodatabaseParameters, String)

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.