PrintRendererServer/RunReportReturningRangeValues

This WebService method runs a report and returns the values of the specified ranges.

Parameters

Parameter Description
string reportPath the report to render. Should be given relative to the Repository folder.
string locale the culture code for the locale that the report should be rendered in (for dates, number formatting, etc.), e.g. en-US.
string[] roleNames the Analysis Services role names to use to render the report. Note that the user running the report should have access to the roles listed. Use null or an empty array to use the default roles for the user.
string[] parameterNames a list of web parameter names to pass to the report.
string[] parameterValues a list of web parameter values, matching parameter names. See Remarks below.
string[] rangesToReturn a list of range definitions, e.g. "A1:B10", "DataSheet!A1", "DynamicGridRange".

Remarks

  • From v8.1, the RunReportReturningRangeValues2 method is preferred. This method uses all the same parameters except for the parameterValues parameter, which is an object[][]. This supports multiple values to be passed in for the parameter.