Reporting API
Version:
The following example demonstrates how to submit a T-SQL query to the Reporting Service via the Reporting API:
Note
The Reporting API has the limitation that the service can only return a data table, and you cannot use SQL input/output parameters.