ReportingService2006.SetReportParameters(String, ReportParameter[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets report parameter properties for a specified report.
public:
void SetReportParameters(System::String ^ Report, cli::array <ReportService2006::ReportParameter ^> ^ Parameters);
public void SetReportParameters (string Report, ReportService2006.ReportParameter[] Parameters);
member this.SetReportParameters : string * ReportService2006.ReportParameter[] -> unit
Public Sub SetReportParameters (Report As String, Parameters As ReportParameter())
Parameters
- Report
- String
The fully qualified URL of the report including the file name and .rdl file name extension.
- Parameters
- ReportParameter[]
An array of ReportParameter objects that contains a list of the report parameters properties.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers | (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue |
Required Permissions | <xref:Microsoft.SharePoint.SPBasePermissions.EditListItems> |
Three properties in ReportParameter can be set by using Prompt, PromptUser, and DefaultValues.
The parameters specified for the SetReportParameters method must be defined in the original report definition.