Udostępnij za pośrednictwem


ReportViewer.ServerReport Property

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

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 ServerReport As ServerReport
'Usage
Dim instance As ReportViewer
Dim value As ServerReport

value = instance.ServerReport
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute("Misc")] 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] 
public ServerReport ServerReport { get; }
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute(L"Misc")] 
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] 
public:
property ServerReport^ ServerReport {
    ServerReport^ get ();
}
/** @property */
public ServerReport get_ServerReport ()
public function get ServerReport () : ServerReport

Property Value

A ServerReport object that contains the server report in the ReportViewer control.

Example

See ServerReport for a code example.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace