Show / Hide Table of Contents

Class GenerateGeodatabaseParameters

The parameters that specify how a sync-enabled geodatabase is generated and downloaded from an ArcGIS feature service using a GenerateGeodatabaseJob.

Inheritance
System.Object
GenerateGeodatabaseParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Tasks.Offline
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GenerateGeodatabaseParameters
Remarks

To generate parameters with values which take into account the capabilities supported by the ArcGIS feature service and the data it contains, call CreateDefaultGenerateGeodatabaseParametersAsync(Geometry). You can then modify the parameters with any desired changes. Alternatively, you can generate an empty set of parameters using GenerateGeodatabaseParameters() and set the parameters individually. To create a GenerateGeodatabaseJob, pass the parameters to the GenerateGeodatabase(GenerateGeodatabaseParameters, String) method and provide a path where the .geodatabase file can be downloaded to on the device.

You can also use the GenerateGeodatabaseParameters to provide more fine-grained control over the geodatabase that is exported when an offline map is generated. For more information, see the GenerateOfflineMapParameterOverrides class.

Constructors

Name Description
GenerateGeodatabaseParameters()

Initializes a new instance of the GenerateGeodatabaseParameters class.

Properties

Name Description
AttachmentSyncDirection

Gets or sets the direction for attachments to be synchronized.

Extent

Gets or sets the Geometry used to intersect the features in the service to replicate into the geodatabase.

LayerOptions

Gets the list of layer options which identifies layers and tables to include in the geodatabase if the sync model is layer.

OutSpatialReference

Gets or sets the SpatialReference used for the generated geodatabase.

ReturnAttachments

Gets or sets a value indicating whether attachments are added to the geodatabase.

SyncAnnotations

Gets or sets a value indicating whether Annotation data is to be included from the service, when generating, or downloading to, an offline geodatabase.

SyncAttributeRules

Gets or sets a value indicating whether Attribute Rule data is to be included from the service, when generating, or synchronizing with, an offline geodatabase.

SyncContingentValues

Gets or sets a value indicating whether to include Contingent Value data from the service when generating, or synchronizing with, an offline geodatabase.

SyncDimensions

Gets or sets a value indicating whether Dimension data is to be included from the service, when generating, or synchronizing with, an offline geodatabase.

SyncModel

Gets or sets the synchronization model that will be used generate a geodatabase.

UtilityNetworkSyncMode

Gets or sets a value that specifies the generation and synchronization mode of Utility Network data from the service to an offline geodatabase.

Applies to

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.
In This Article
Back to top Copyright © 2022 Esri.