Exago .NET API Documentation
DataSourceId Property (wrApiReportOptions)
Example 
WebReports.Api Namespace > wrApiReportOptions Class : DataSourceId Property
The Data Source ID that the active report's custom SQL object will retrieve data from.
Syntax
public System.int DataSourceId {get; set;}

Property Value

The Id Property of one of the available Data Sources in the DataSources Property collection.
Example
reportOptions.DataSourceId = 0;
See Also

Reference

wrApiReportOptions Class
wrApiReportOptions Members