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[]

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 标头SOAP Headers (In) BatchHeaderValue(In) BatchHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
所需的权限Required Permissions UpdateParameters

ReportParameter可以通过使用、和设置中的三个属性 Prompt PromptUser DefaultValuesThree properties in ReportParameter can be set by using Prompt, PromptUser, and DefaultValues.

为方法指定的参数 SetReportParameters 必须在原始报表定义中定义。The parameters specified for the SetReportParameters method must be defined in the original report definition.

Applies to