Exago .NET API Documentation
ExcludeDataSourcesReportCustomSQL Property
Example 
WebReports.Api.Common Namespace > General Class : ExcludeDataSourcesReportCustomSQL Property
When Allow Creation of Custom SQL Objects is enabled, enter the data sources to exclude from Report-Level SQL. Write each data source in double quotation marks ("), and separate sources by a comma (,). Example: "Northwind","AdventureWorks".
Syntax
public System.string ExcludeDataSourcesReportCustomSQL {get; set;}

Property Value

A string with the name of the Data Sources to be excluded from report-level Custom SQL Object creation. Each Data Source must be enclosed in double quotes and separated with a comma (see example below).
Remarks
Same as setting Admin Console > General > Feature/UI Settings > Data Sources to Exclude from Custom SQL Creation.
Example
Restrict users from creating report-level Custom SQL Objects that reference the Northwind, STARCall-SMDR, STARCall-Tesla and STARCall-Volta data sources
api.General.ExcludeDataSourcesReportCustomSQL = "\"Northwind\",\"STARCall-SMDR\",\"STARCall-TESLA\",\"STARCall-VOLTA\"";
See Also

Reference

General Class
General Members

Exago Knowledge Base

Roles
Feature/UI Settings