Udostępnij za pośrednictwem


ServerReport.GetParameters Method

Returns report parameter properties for the report.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Overrides Function GetParameters As ReportParameterInfoCollection
'Usage
Dim instance As ServerReport
Dim returnValue As ReportParameterInfoCollection

returnValue = instance.GetParameters
public override ReportParameterInfoCollection GetParameters ()
public:
virtual ReportParameterInfoCollection^ GetParameters () override
public ReportParameterInfoCollection GetParameters ()
public override function GetParameters () : ReportParameterInfoCollection

Return Value

A ReportParameterInfoCollection object that contains an array of ReportParameterInfo objects.

Remarks

The GetParameters method can also be used to validate parameter values against parameters for a report.

See Also

Reference

ServerReport Class
ServerReport Members
Microsoft.Reporting.WebForms Namespace