ArcGIS Pro 2.6 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/2.6/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, Windows 7

See Also

Reference

CIMBAVariableList Class
CIMBAVariableList Members