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
<NotifyParentPropertyAttribute(True)> _
<CategoryAttribute("Misc")> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property LocalReport As LocalReport
'Usage
Dim instance As ReportViewer
Dim value As LocalReport

value = instance.LocalReport
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute("Misc")] 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] 
public LocalReport LocalReport { get; }
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute(L"Misc")] 
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] 
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