共用方式為


ReportingService2005.SetReportParameters(String, ReportParameter[]) Method

Definition

Sets report parameter properties for a specified report.

public:
 void SetReportParameters(System::String ^ Report, cli::array <ReportService2005::ReportParameter ^> ^ Parameters);
public void SetReportParameters (string Report, ReportService2005.ReportParameter[] Parameters);
member this.SetReportParameters : string * ReportService2005.ReportParameter[] -> unit
Public Sub SetReportParameters (Report As String, Parameters As ReportParameter())

Parameters

Report
String

The full path name of the report.

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) BatchHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions UpdateParameters

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.

Applies to