Report Class

Definition

Represents an object model report.

public ref class Report : Microsoft::ReportingServices::RdlObjectModel::ReportObject, Microsoft::ReportingServices::RdlObjectModel::IDataScope, Microsoft::ReportingServices::RdlObjectModel::IDataScopeService, Microsoft::ReportingServices::RdlObjectModel::IReportData
public class Report : Microsoft.ReportingServices.RdlObjectModel.ReportObject, Microsoft.ReportingServices.RdlObjectModel.IDataScope, Microsoft.ReportingServices.RdlObjectModel.IDataScopeService, Microsoft.ReportingServices.RdlObjectModel.IReportData
type Report = class
    inherit ReportObject
    interface IDataScopeService
    interface IDataScope
    interface IContainedObject
    interface IReportData
Public Class Report
Inherits ReportObject
Implements IDataScope, IDataScopeService, IReportData
Inheritance
Implements

Constructors

Report()

Creates a new instance of the Report class.

Fields

DefaultFontFamilyDefault

Specifies the default font family.

Properties

Author

Gets or sets the author of the report.

AutoRefresh

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

Body

Gets or sets how the body of the report is structured and rendered.

Classes

Gets or sets the list of classes to instantiate during report initialization.

Code

Gets or sets the definitions for custom functions to be used in expressions within the report.

CodeModules

Gets or sets the code modules to make available to the report for use in expressions.

ComponentMetadata

Gets or sets the component metadata.

(Inherited from ReportObject)
ConsumeContainerWhitespace

Gets or sets a value that indicates whether all whitespace in containers, such as Body and Rectangle, should be consumed when contents grow instead of preserving the minimum white space between the contents and the container.

CustomProperties

Gets or sets the custom information to be handed to the report rendering component.

DataElementName

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

DataElementStyle

Indicates whether the leaf-level values, such as text box values and chart data values, should render as elements or attributes.

DataSchema

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

DataSets

Gets or sets the data that is displayed as part of the report.

DataSources

Gets or sets the data sources from which data sets are taken for this report.

DataTransform

Gets or sets the location to a transformation to apply to a report data rendering.

DefaultFontFamily

Gets the font family used by child report items when no font family is defined explicitly.

DeferVariableEvaluation

Indicates whether the variables throughout the report do not have to be pre-evaluated at the beginning of report processing.

Description

Gets or sets the description of the report.

DescriptionLocID

Gets or sets the unique identifier for the Description property.

EmbeddedImages

Gets or sets the embedded images within the report.

ExpressionDialog

Defines the contents of a field control in a report.

InitialPageName

Gets or sets the initial or default name of the report page.

Language

Gets or sets the primary language of the text.

MustUnderstand

Gets or sets the MustUnderstand value of the report.

Page

Gets or sets the page layout information about the report.

Parent

The parent of this report object.

(Inherited from ReportObjectBase)
ReportID

Gets or sets the unique identifier for the report.

ReportParameters

Gets or sets the collection of parameters for the report.

ReportParametersLayout

Gets or sets the report parameters layout.

ReportSections

Gets or sets the report sections in the report.

ReportServerUrl

Gets or sets the URL of the report server.

ReportTemplate

Indicates whether the report is a report template.

ReportUnitType

Gets or sets the default unit type for the report.

Site

Gets or sets the site associated with the ReportObject object.

(Inherited from ReportObject)
Variables

Gets or sets the variables defined for the report as a whole.

Width

Gets or sets the width of the report.

Methods

DeepClone()

Returns a deep clone of this ReportObject instance.

(Inherited from ReportObject)
GenerateDataSetName(String)

Creates a name for the data that is displayed as part of the report.

GenerateItemName(String, String, Predicate<String>)

Creates a name of an item.

GenerateItemName<T>(String, Converter<String,T>)

Creates a name of an item.

GetClsCompliantIdentifier(String)

Gets the Common Language Specification compliant identifier.

GetContainingDataScopes()

Returns the list of report object that contains data scopes.

(Inherited from ReportObject)
GetDataScopesFor(IContainedObject)

Gets the data scopes for the report.

GetDataScopesForDefaultImpl(IContainedObject)

Returns the data scopes for default implementation.

(Inherited from ReportObject)
GetDataSetByName(String)

Accesses a dataset by using the name.

GetDataSetsByDataSourceName(String)

Gets the data sets using the source name.

GetDataSourceByName(String)

Accesses a data source by its name.

GetDependenciesCore(IList<ReportObject>)

Returns the dependencies core for the ReportObject object.

(Inherited from ReportObject)
GetEmbeddedImageByName(String)

Accesses an embedded image by its name.

GetReportParameterByName(String)

Accesses a report parameter by its name.

Initialize()

Initializes an instance of the Report class.

InitializeForDesigner()

Initializes the report object for designer.

(Inherited from ReportObject)
Load(Byte[])

Loads a Report object from a report definition.

Load(Stream)

Loads a Report object from a report definition.

Load(String)

Loads a Report object from a report definition.

OnChildPropertyChanged(Int32, Object, Object)

Raises an event when the property of the child was changed.

(Inherited from ReportObject)
OnPropertyChanged(Int32, Object, Object)

Raises an event when the property was changed.

(Inherited from ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

Returns whether the report definition language semantic is the same with the core object.

(Inherited from ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

Saves the property value of the report object.

(Inherited from ReportObject)

Explicit Interface Implementations

IComponent.Disposed

Occurs when the ReportObject object is disposed.

(Inherited from ReportObject)
IDataScope.Group

Gets the group of the data.

IDataScope.Name

Gets the name for the data scope.

IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ReportObject)

Applies to