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.
- Parameters
型別:array<ReportService2005.ReportParameter[]
An array of ReportParameter objects that contains a list of the report parameters properties.
備註
The table below shows header and permissions information on this operation.
SOAP Headers |
(In) BatchHeaderValue (Out) ServerInfoHeaderValue |
Required Permissions |
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.