ReportViewerWebPart.OverrideParameters Property

Gets a collection of ReportParameter objects that are used to override the default parameters for the report that is being loaded in the Web Part.

Namespace:  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly:  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
Public ReadOnly Property OverrideParameters As ReportParameterDefaultCollection
    Get
'Usage
Dim instance As ReportViewerWebPart
Dim value As ReportParameterDefaultCollection

value = instance.OverrideParameters
[WebPartStorageAttribute(Storage.Shared)]
public ReportParameterDefaultCollection OverrideParameters { get; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property ReportParameterDefaultCollection^ OverrideParameters {
    ReportParameterDefaultCollection^ get ();
}
[<WebPartStorageAttribute(Storage.Shared)>]
member OverrideParameters : ReportParameterDefaultCollection
function get OverrideParameters () : ReportParameterDefaultCollection

Property Value

Type: Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportParameterDefaultCollection
A collection of ReportParameter objects.

Remarks

Use this property to supply alternate default report parameters to the ReportViewerWebPart.