Class GenerateGeodatabaseParameters
The parameters that specify how a sync-enabled geodatabase is generated and downloaded from an ArcGIS feature service using a GenerateGeodatabaseJob.
Inheritance
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. |
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
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 |