ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMBAVariableList Class / DataSource Property

In This Topic
    DataSource Property (CIMBAVariableList)
    In This Topic
    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.
    public string DataSource {get; set;}
    Public Property DataSource As String

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also