Поделиться через


ServerReport Class

Represents a report that is processed on the report server.

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ServerReport
    Inherits Report
    Implements ISerializable
'Usage
Dim instance As ServerReport
[SerializableAttribute] 
public sealed class ServerReport : Report, ISerializable
[SerializableAttribute] 
public ref class ServerReport sealed : public Report, ISerializable
/** @attribute SerializableAttribute() */ 
public final class ServerReport extends Report implements ISerializable
SerializableAttribute 
public final class ServerReport extends Report implements ISerializable

Remarks

The ServerReport object serves as a proxy for a report on a report server. It processes reports at the report server, rather than locally. It can open Report Definition Language (RDL) files that have been published to the server, and it can also load a report definition from a Stream or a TextReader to the server for remote processing.

The ServerReport object exposes additional functionality supported by the report server, including parameters and the ability to export reports to any format supported by the report server.

The ServerReport object requires a SQL Server 2008 version of Reporting Services or later.

Inheritance Hierarchy

System.Object
   Microsoft.Reporting.WebForms.Report
    Microsoft.Reporting.WebForms.ServerReport

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ServerReport Members
Microsoft.Reporting.WebForms Namespace