Expand Minimize
1 out of 2 rated this helpful - Rate this topic

ReportingService2005.SetReportParameters Method

Sets report parameter properties for a specified report.

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetReportParameters", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("BatchHeaderValue")]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public void SetReportParameters(
	string Report,
	ReportParameter[] Parameters
)

Parameters

Report
Type: System.String
The full path name of the report.
Parameters
Type: ReportService2005.ReportParameter[]
An array of ReportParameter objects that contains a list of the report parameters properties.

Three properties in ReportParameter can be set using this method: Prompt, PromptUser, and DefaultValues.

The parameters specified for the SetReportParameters method must be defined in the original report definition.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.