Report Class

Definition

Represents a report.

public ref class Report sealed : Microsoft::ReportingServices::OnDemandReportRendering::IDefinitionPath
public sealed class Report : Microsoft.ReportingServices.OnDemandReportRendering.IDefinitionPath
type Report = class
    interface IDefinitionPath
Public NotInheritable Class Report
Implements IDefinitionPath
Inheritance
Report
Implements

Properties

Author

Gets the author of the report.

AutoRefresh

Gets the rate at which the report page (when rendered as HTML) automatically refreshes, in seconds.

Body
Obsolete.

Gets the body of the report.

ConsumeContainerWhitespace

Gets a value that indicates whether all whitespace in containers (i.e. Body and Rectangle) should be consumed when contents grow rather than preserving the minimum whitespace between the contents and the container.

CustomProperties

Gets the custom information to be handed to the report rendering component

DataElementName

Gets the name of a top level element that represents the report data.

DataElementStyle

Gets a value that indicates whether leaf-level values (e.g. textbox values and chart data values) should render as elements or attributes.

DataSchema

Gets the schema or namespace to use for a report data rendering.

DataSetName

Gets the name of the dataset, if the report contains only one dataset.

DataTransform

Gets the location to a transformation to apply to a report data rendering. This can be a full folder path (e.g. “/xsl/xfrm.xsl”) or relative path (e.g. “xfrm.xsl”).

DefaultFontFamily

Gets the default font family for reporting services.

DefinitionPath

Gets the path to this report definition object in the report definition.

Description

Gets the description of the report.

DocumentMap

Gets the document map for the report.

ExecutionTime

Gets the most recent time the report is executed.

HasBookmarks

Gets a value that indicates the report contains bookmarks.

HasDocumentMap

Gets a value that indicates the report contains document map labels.

ID

Gets the unique identifier for this report definition object.

InitialPageName

Gets an expression that evaluates to the initial or default name of the report page.

Instance

Gets the report instance object that contains the calculated values of this report definition object.

Language

Gets an expression that evaluates to the primary language of the text.

Location

Gets the location from which the report was executed.

Name

Gets the report name.

NeedsHeaderFooterEvaluation
Obsolete.

Gets a value that indicates whether AddToCurrentPage must be called for each item on the page before GetPageSections is called.

NeedsOverallTotalPages

Gets a value that indicates whether the Globals!OverallTotalPages value is used in the page header or footer, and that this value needs to be calculated when generating the rendered output.

NeedsPageBreakTotalPages

Gets a value that indicates whether to the Globals!TotalPages value is used in the page header or footer, and that this value needs to be calculated when generating the rendered output.

NeedsReportItemsOnPage

Gets a value that indicates whether there is an aggregate in the page header or footer that aggregates data in a TextBox.

NeedsTotalPages

Gets a value that indicates whether to the Globals!TotalPages or Globals!OverallTotalPages value is used in the page header or footer, and that this value needs to be calculated when generating the rendered output.

Page
Obsolete.

Gets the page layout information about the report.

Parameters

Gets the report parameters.

ParentDefinitionPath

Gets the path to report definition object's parent in the report definition.

ReportSections

Gets the report sections in the report.

ShowHideToggle

Gets the unique name of the toggled item in the current rendering request, if any.

SnapshotPageSizeInfo

Gets a rough indication of the size of the report, which can be used to drive memory management decisions within the rendering extension.

SortItem

Gets the unique name of the selected user sort item in the current rendering request, if any.

Width
Obsolete.

Gets the width of the report.

Methods

AddToCurrentPage(String, Object)

Registers the value of a textbox as being on the current page.

CreateChunk(Report+ChunkTypes, String)

Creates a stream for a chunk of the rendered report.

EnableNativeCustomReportItem()

Indicates the renderer natively supports all custom report item types, so the processing engine should not generate an image.

EnableNativeCustomReportItem(String)

Indicates the renderer natively supports all custom report item types, so the processing engine should not generate an image.

GetChunk(Report+ChunkTypes, String)

Gets a report data chunk.

GetOrCreateChunk(Report+ChunkTypes, String, Boolean)

Gets or creates a report data chunk.

GetPageSections()
Obsolete.

Causes page header/footer calculations to be performed for the current page. This method must be called before accessing the PageSections for the report.

GetReportUrl(Boolean)

URL from which the report was executed.

GetResource(String, Byte[], String)

Retrieves the auxiliary resources used during rendering; e.g., an XSLT used by the XML renderer.

GetStreamUrl(Boolean, String)

URL by which a client application may request a stream of the given name.

SetPage(Int32, Int32)
Obsolete.

Sets the current page number and total page count. This method must be called before GetPageSections. The totalPages argument must be accurate if NeedsHeaderFooterEvaluation is true. Otherwise, this argument is unused.

Applies to