This sample illustrates the use of Datastore, Definitions, and Datasets of the Geodatabase API.
Language: C#
Subject: Geodatabase
Contributor: ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization: Esri, https://www.esri.com
Date: 04/04/2024
ArcGIS Pro: 3.3
Visual Studio: 2022
.NET Target Framework: net8.0-windows
- Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.
- In Visual studio click the Build menu. Then select Build Solution.
- Click Start button to open ArcGIS Pro.
- ArcGIS Pro will open, select any project
- Open the Add-in tab and click the "Datastore Datasets and Definitions" button to open "Datastore Datasets and Definitions" dockpane.
- Select a Datastore Type from the drop down and then enter a data path that contains the selected datastore.
- Data Path samples are:
- For "File Geodatabase": any folder with a .GDB extension for example: C:\Data\FeatureTest\FeatureTest.gdb
- For "Enterprise Geodatabase": select a Database Connection file with the .SDE file extension.
- For "Feature Service": https://sdk5.esri.com/server/rest/services/Alameda/FeatureServer
- For "Sqlite Database": any folder with a .SQLITE? extension
- For "Shape File": any folder that contains shape files with a .SHP extension
- Click the "Load Metadata" button to retrieve the metadata from the specified data source.
- The "Data Type" drop down and the "Datasets" list are updated to reflect the content of the selected data source.
- Select a "Data Type" drop down and a "Dataset" to view some of the datasource's metadata.
Home | API Reference | Requirements | Download | Samples