Report 类

Represents a report.

继承层次结构

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

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public Class Report _
    Inherits ReportObject _
    Implements IDataScopeService, IDataScope, IContainedObject, IReportData
用法
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

Report 类型公开以下成员。

构造函数

  名称 说明
公共方法 Report Creates a new instance of the Report class.

页首

属性

  名称 说明
公共属性 Author Author of the report.
公共属性 AutoRefresh Rate at which the report page (when rendered as HTML) automatically refreshes, in seconds.
公共属性 Body Describes how the body of the report is structured and rendered.
公共属性 Classes Classes to instantiate during report initialization.
公共属性 Code Definitions for custom functions to be used in expressions within the report. Custom functions must be instance methods. If a function OnInit() is defined within code, it is called during parameter, report, and page header/footer initialization. The function must be defined as Protected and Overrides.
公共属性 CodeModules Code modules to make available to the report for use in expressions.
公共属性 ComponentMetadata The component metadata. (从 ReportObject 继承。)
公共属性 ConsumeContainerWhitespace Gets 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 Custom information to be handed to the report rendering component.
公共属性 DataElementName Name of a top level element that represents the report data.
公共属性 DataElementStyle Indicates whether leaf-level values, such as text box values and chart data values, should render as elements or attributes.
公共属性 DataSchema The schema or namespace to use for a report data rendering.
公共属性 DataSets Describes the data that is displayed as part of the report.
公共属性 DataSources Describes the data sources from which data sets are taken for this report.
公共属性 DataTransform The location to a transformation to apply to a report data rendering. This can be a full folder path or a relative path.
公共属性 DeferVariableEvaluation Indicates that variables throughout the report do not have to be pre-evaluated at the beginning of report processing. They can be evaluated on-demand based on usage. Deferred variable evaluation can improve performance but should not be used if any variables are time-dependent.
公共属性 Description Description of the report.
公共属性 DescriptionLocID The unique identifier for the Description property.
公共属性 EmbeddedImages Images embedded within the report.
公共属性 InitialPageName The initial or default name of the report page.
公共属性 Language The primary language of the text.
公共属性 Page Contains page layout information about the report.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 ReportID The unique identifier for the report.
公共属性 ReportParameters Parameters for the report.
公共属性 ReportSections The report sections in the report.
公共属性 ReportServerUrl The URL of the report server.
公共属性 ReportTemplate Indicates whether this is a report template.
公共属性 ReportUnitType The default unit type for the report.
公共属性 Site 基础结构。 (从 ReportObject 继承。)
公共属性 Variables Variables defined for the report as a whole.
公共属性 Width Width of the report.

页首

方法

  名称 说明
公共方法 DeepClone Returns a deep clone of this ReportObject instance. (从 ReportObject 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GenerateDataSetName 基础结构。
公共方法 GenerateItemName(String, String, Predicate<String>) 基础结构。
公共方法 GenerateItemName<T>(String, Converter<String, T>) 基础结构。
公共方法静态成员 GetClsCompliantIdentifier 基础结构。
公共方法 GetContainingDataScopes 基础结构。 (从 ReportObject 继承。)
公共方法 GetDataScopesFor 基础结构。
受保护方法 GetDataScopesForDefaultImpl 基础结构。 (从 ReportObject 继承。)
公共方法 GetDataSetByName Accesses a dataset by using the name.
公共方法 GetDataSetsByDataSourceName 基础结构。
公共方法 GetDataSourceByName Accesses a data source by its name.
受保护方法 GetDependenciesCore 基础结构。 (从 ReportObject 继承。)
公共方法 GetEmbeddedImageByName Accesses an embedded image by its name.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetReportParameterByName Accesses a report parameter by its name.
公共方法 GetType (从 Object 继承。)
公共方法 Initialize Initializes an instance of the Report class. (覆盖 ReportObject.Initialize()。)
受保护方法 InitializeForDesigner 基础结构。 (从 ReportObject 继承。)
公共方法静态成员 Load(array<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.
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnChildPropertyChanged 基础结构。 (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。 (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。 (从 ReportObject 继承。)
受保护方法 SavePropertyValue<T> 基础结构。 (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed (从 ReportObject 继承。)
显式接口实现私有属性 IDataScope.Group
显式接口实现私有属性 IDataScope.Name

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。