DataSource Property (CIMBAVariableBasedCriterion)
In This Topic
Gets or sets the data source used in calculation of distances.
Structure of the value is TYPE;COUNTRY_INFO;LOCAL_DATA_INFO
where
TYPE can be ONLINE, LOCAL, or CUSTOM.
COUNTRY_INFO is country_id{|hierarchy}. For example, US|census or US.
LOCAL_DATA_INFO is ID of local dataset. For example, USA_ESRI_2019.
For example, for local US 2019 dataset it will be: "LOCAL;;USA_ESRI_2019".
If online US data source is used, it may be "ONLINE;US|census;".
Can be value of baDataSource GP GPEnvironment variable.
https://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/ba-data-source.htm.
Syntax
public string DataSource {get; set;}
Public Property DataSource As String
Requirements
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.4 or higher.
See Also