Share via


ReportViewer.LocalReport Property

Gets the instance of the Report class that is used when the ProcessingMode for the ReportViewer control is set to Local.

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

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
<NotifyParentPropertyAttribute(True)> _
Public ReadOnly Property LocalReport As LocalReport
'Usage
Dim instance As ReportViewer
Dim value As LocalReport

value = instance.LocalReport
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] 
[NotifyParentPropertyAttribute(true)] 
public LocalReport LocalReport { get; }
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] 
[NotifyParentPropertyAttribute(true)] 
public:
property LocalReport^ LocalReport {
    LocalReport^ get ();
}
/** @property */
public LocalReport get_LocalReport ()
public function get LocalReport () : LocalReport

Property Value

A LocalReport object containing the local report in the ReportViewer control.

Example

See LocalReport for a code example.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace