ReportingService2006.SetReportParameters Method
SQL Server 2008
Sets report parameter properties for a specified report.
Assembly: ReportService2006 (in ReportService2006.dll)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/SetReportParameters", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] [SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)] [SoapHeaderAttribute("TrustedUserHeaderValue")] public void SetReportParameters( string Report, ReportParameter[] Parameters )
Parameters
- Report
- Type: System.String
The fully qualified URL of the report including the file name and .rdl file name extension.
- Parameters
- Type: ReportService2006.ReportParameter[]
An array of ReportParameter objects that contains a list of the report parameters properties.
Three properties in ReportParameter can be set by using this method: Prompt, PromptUser, and DefaultValues.
The parameters that are specified for the SetReportParameters method must be defined in the original report definition.
