共用方式為


ReportingService2006.SetReportParameters 方法

Sets report parameter properties for a specified report.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Sub SetReportParameters ( _
    Report As String, _
    Parameters As ReportParameter() _
)
'用途
Dim instance As ReportingService2006 
Dim Report As String 
Dim Parameters As ReportParameter()

instance.SetReportParameters(Report, _
    Parameters)
public void SetReportParameters(
    string Report,
    ReportParameter[] Parameters
)
public:
void SetReportParameters(
    String^ Report, 
    array<ReportParameter^>^ Parameters
)
member SetReportParameters : 
        Report:string * 
        Parameters:ReportParameter[] -> unit
public function SetReportParameters(
    Report : String, 
    Parameters : ReportParameter[]
)

參數

  • Report
    型別:System.String
    The fully qualified URL of the report including the file name and .rdl file name extension.

備註

The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

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.

請參閱

參考

ReportingService2006 類別

ReportService2006 命名空間