Report 类

Represents an object model 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 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. (从 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.
公共属性 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.
公共属性 Page Gets or sets the page layout information about the report.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 ReportID Gets or sets the unique identifier for the report.
公共属性 ReportParameters Gets or sets the collection of parameters for the report.
公共属性 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. (从 ReportObject 继承。)
公共属性 Variables Gets or sets the variables defined for the report as a whole.
公共属性 Width Gets or sets the width of the report.

页首

方法

  名称 说明
公共方法 DeepClone Returns a deep clone of this ReportObject instance. (从 ReportObject 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GenerateDataSetName 基础结构。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 基础结构。Gets the Common Language Specification compliant identifier.
公共方法 GetContainingDataScopes 基础结构。Returns the list of report object that contains data scopes. (从 ReportObject 继承。)
公共方法 GetDataScopesFor 基础结构。Gets the data scopes for the report.
受保护方法 GetDataScopesForDefaultImpl 基础结构。Returns the data scopes for default implementation. (从 ReportObject 继承。)
公共方法 GetDataSetByName Accesses a dataset by using the name.
公共方法 GetDataSetsByDataSourceName 基础结构。Gets the data sets using the source name.
公共方法 GetDataSourceByName Accesses a data source by its name.
受保护方法 GetDependenciesCore 基础结构。Returns the dependencies core for the ReportObject object. (从 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 基础结构。Initializes the report object for designer. (从 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 基础结构。Raises an event when the property of the child was changed. (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。Raises an event when the property was changed. (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。Returns whether the report definition language semantic is the same with the core object. (从 ReportObject 继承。)
受保护方法 SavePropertyValue<T> 基础结构。Saves the property value of the report object. (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose 基础结构。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed 基础结构。Occurs when the ReportObject object is disposed. (从 ReportObject 继承。)
显式接口实现私有属性 IDataScope.Group Gets the group of where this object belong.
显式接口实现私有属性 IDataScope.Name Gets the name of this object.

页首

线程安全

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

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间