ArcGIS Pro 2.8 API Reference Guide
DataSource Property (CIMBAVariableList)

ArcGIS.Core.CIM Namespace > CIMBAVariableList Class : DataSource Property
Gets or sets data source of the variable list. 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 10, Windows 8.1

See Also

Reference

CIMBAVariableList Class
CIMBAVariableList Members