Share via


Report Class

Represents an object model report.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.Report

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class Report _
    Inherits ReportObject _
    Implements IDataScopeService, IDataScope, IContainedObject, IReportData
'Usage
Dim instance As Report
public class Report : ReportObject, IDataScopeService, 
    IDataScope, IContainedObject, IReportData
public ref class Report : public ReportObject, 
    IDataScopeService, IDataScope, IContainedObject, IReportData
type Report =  
    class 
        inherit ReportObject 
        interface IDataScopeService 
        interface IDataScope 
        interface IContainedObject 
        interface IReportData 
    end
public class Report extends ReportObject implements IDataScopeService, IDataScope, IContainedObject, IReportData

The Report type exposes the following members.

Constructors

  Name Description
Public method Report Creates a new instance of the Report class.

Top

Properties

  Name Description
Public property Author Gets or sets the author of the report.
Public property AutoRefresh Gets or sets the rate at which the report page (when rendered as HTML) automatically refreshes, in seconds.
Public property Body Gets or sets how the body of the report is structured and rendered.
Public property Classes Gets or sets the list of classes to instantiate during report initialization.
Public property Code Gets or sets the definitions for custom functions to be used in expressions within the report.
Public property CodeModules Gets or sets the code modules to make available to the report for use in expressions.
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property 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.
Public property CustomProperties Gets or sets the custom information to be handed to the report rendering component.
Public property DataElementName Gets or sets the name of a top level element that represents the report data.
Public property DataElementStyle Indicates whether the leaf-level values, such as text box values and chart data values, should render as elements or attributes.
Public property DataSchema Gets or sets the schema or namespace to use for a report data rendering.
Public property DataSets Gets or sets the data that is displayed as part of the report.
Public property DataSources Gets or sets the data sources from which data sets are taken for this report.
Public property DataTransform Gets or sets the location to a transformation to apply to a report data rendering.
Public property DeferVariableEvaluation Indicates whether the variables throughout the report do not have to be pre-evaluated at the beginning of report processing.
Public property Description Gets or sets the description of the report.
Public property DescriptionLocID Gets or sets the unique identifier for the Description property.
Public property EmbeddedImages Gets or sets the embedded images within the report.
Public property ExpressionDialog Defines the contents of a field control in a report.
Public property InitialPageName Gets or sets the initial or default name of the report page.
Public property Language Gets or sets the primary language of the text.
Public property Page Gets or sets the page layout information about the report.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property ReportID Gets or sets the unique identifier for the report.
Public property ReportParameters Gets or sets the collection of parameters for the report.
Public property ReportSections Gets or sets the report sections in the report.
Public property ReportServerUrl Gets or sets the URL of the report server.
Public property ReportTemplate Indicates whether the report is a report template.
Public property ReportUnitType Gets or sets the default unit type for the report.
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property Variables Gets or sets the variables defined for the report as a whole.
Public property Width Gets or sets the width of the report.

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateDataSetName Infrastructure. Creates a name for the data that is displayed as part of the report.
Public method GenerateItemName(String, String, Predicate<String>) Infrastructure. Creates a name of an item.
Public method GenerateItemName<T>(String, Converter<String, T>) Infrastructure. Creates a name of an item.
Public methodStatic member GetClsCompliantIdentifier Infrastructure. Gets the Common Language Specification compliant identifier.
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Public method GetDataScopesFor Infrastructure. Gets the data scopes for the report.
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Public method GetDataSetByName Accesses a dataset by using the name.
Public method GetDataSetsByDataSourceName Infrastructure. Gets the data sets using the source name.
Public method GetDataSourceByName Accesses a data source by its name.
Protected method GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.)
Public method GetEmbeddedImageByName Accesses an embedded image by its name.
Public method GetHashCode (Inherited from Object.)
Public method GetReportParameterByName Accesses a report parameter by its name.
Public method GetType (Inherited from Object.)
Public method Initialize Initializes an instance of the Report class. (Overrides ReportObject.Initialize().)
Protected method InitializeForDesigner Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.)
Public methodStatic member Load(array<Byte[]) Loads a Report object from a report definition.
Public methodStatic member Load(Stream) Loads a Report object from a report definition.
Public methodStatic member Load(String) Loads a Report object from a report definition.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Returns whether the report definition language semantic is the same with the core object. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.)
Explicit interface implemetationPrivate property IDataScope.Group Gets the group of where this object belong.
Explicit interface implemetationPrivate property IDataScope.Name Gets the name of this object.

Top

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

Microsoft.ReportingServices.RdlObjectModel Namespace