共用方式為


ReportingService2005.SetReportParameters 方法

Sets report parameter properties for a specified report.

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

語法

'宣告
Public Sub SetReportParameters ( _
    Report As String, _
    Parameters As ReportParameter() _
)
'用途
Dim instance As ReportingService2005 
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 full path name of the report.

備註

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.

請參閱

參考

ReportingService2005 類別

ReportService2005 命名空間