ServerReport Class

 

Represents a report that is processed on the report server.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

System::Object
  Microsoft.Reporting.WinForms::Report
    Microsoft.Reporting.WinForms::ServerReport

[SerializableAttribute]
public ref class ServerReport sealed : Report, ISerializable

NameDescription
System_CAPS_pubmethodServerReport()

Initializes a new instance of the ServerReport class.

NameDescription
System_CAPS_pubpropertyCookies

Gets a collection of Cookie objects. The ServerReport object uses the cookies in this collection when making server requests.

System_CAPS_pubpropertyDisplayName

Gets or sets the display name of the report.(Inherited from Report.)

System_CAPS_pubpropertyHeaders

Gets a collection of strings that contain custom headers.

System_CAPS_pubpropertyHistoryId

Gets or sets the unique identifier of the report history snapshot used for the server report.

System_CAPS_pubpropertyIsDrillthroughReport

Indicates whether the report is a drillthrough report.(Inherited from Report.)

System_CAPS_pubpropertyIsReadyForRendering

Gets a Boolean value that indicates whether a report definition and all required parameters have been specified, and all data sources are ready for use. (Inherited from Report.)

System_CAPS_pubpropertyReportPath

Gets or sets the path to the report on the server.

System_CAPS_pubpropertyReportServerCredentials

Gets the credentials to be used with the report server.

System_CAPS_pubpropertyReportServerUrl

Gets or sets the URL for the report server.

System_CAPS_pubpropertyTimeout

Gets or sets the number of milliseconds to wait for server communications.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetDataSources()

Retrieves information about the data sources used for a report.

System_CAPS_pubmethodGetDataSources(Boolean)

Retrieves information about the data sources used for a report, including whether all required credentials have been supplied for the report data sources.

System_CAPS_pubmethodGetDefaultPageSettings()

Gets the default page settings specified in the report definition.(Overrides Report::GetDefaultPageSettings().)

System_CAPS_pubmethodGetDocumentMap()

Returns the representation of the document map for the local report.(Inherited from Report.)

System_CAPS_pubmethodGetExecutionId()

Returns the current execution ID, or null (Nothing in Visual Basic) if no execution ID is available.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetParameters()

Returns report parameter properties for the report.(Overrides Report::GetParameters().)

System_CAPS_pubmethodGetServerVersion()

Returns the version of the report server.

System_CAPS_pubmethodGetTotalPages()

Returns the total number of soft pages in the report. (Inherited from Report.)

System_CAPS_pubmethodGetTotalPages(PageCountMode)

Returns the total number of soft pages in the report and a PageCountMode value that indicates the current page count mode.(Overrides Report::GetTotalPages(PageCountMode).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsQueryExecutionAllowed()

Indicates whether the report can execute queries.

System_CAPS_pubmethodListRenderingExtensions()

Returns all available rendering extensions for the server report.(Overrides Report::ListRenderingExtensions().)

System_CAPS_pubmethodLoadReportDefinition(Stream^)

Loads a report definition for processing using a Stream.(Inherited from Report.)

System_CAPS_pubmethodLoadReportDefinition(TextReader^)

Loads the report definition on the report server for remote processing using a TextReader.(Overrides Report::LoadReportDefinition(TextReader^).)

System_CAPS_pubmethodRefresh()

Causes the report to be rendered with new data.(Overrides Report::Refresh().)

System_CAPS_pubmethodRender(String^)

Processes the report and renders it in the specified format.(Inherited from Report.)

System_CAPS_pubmethodRender(String^, String^)

Processes the report and renders it in the specified format.(Inherited from Report.)

System_CAPS_pubmethodRender(String^, String^, NameValueCollection^, Stream^, String^, String^)

Renders the report with optional URL access parameters.

System_CAPS_pubmethodRender(String^, String^, NameValueCollection^, String^, String^)

Renders the report with optional URL access parameters.

System_CAPS_pubmethodRender(String^, String^, PageCountMode, String^, String^, String^, array<String^>^, array<Warning^>^)

Processes the report with the specified PageCountMode valuevalue and renders it in the specified format.(Overrides Report::Render(String^, String^, PageCountMode, String^, String^, String^, array<String^>^, array<Warning^>^).)

System_CAPS_pubmethodRender(String^, String^, String^, String^, String^, array<String^>^, array<Warning^>^)

Processes the report and renders it in the specified format.(Inherited from Report.)

System_CAPS_pubmethodRenderStream(String^, String^, String^, String^, String^)

Returns a secondary stream associated with a processed report.

System_CAPS_pubmethodSetDataSourceCredentials(IEnumerable<DataSourceCredentials^>^)

Sets data source credentials for the report.

System_CAPS_pubmethodSetExecutionId(String^)

Initializes a server report using a specific report execution on the server.

System_CAPS_pubmethodSetParameters(IEnumerable<ReportParameter^>^)

Sets report parameter properties for the report.(Overrides Report::SetParameters(IEnumerable<ReportParameter^>^).)

System_CAPS_pubmethodSetParameters(ReportParameter^)

Sets report parameter properties for the report.(Inherited from Report.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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. 

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

Return to top
Show: