語言

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
繼承
實作

建構函式

名稱 Description
Report()

建立 Report 類別的新實例。

欄位

名稱 Description
DefaultFontFamilyDefault

指定預設字型家族。

屬性

名稱 Description
Author

取得或設定報告作者。

AutoRefresh

它能取得或設定報告頁面(以 HTML 呈現)自動刷新的速率,單位是幾秒鐘。

Body

決定報告正文的結構與呈現方式。

Classes

在報表初始化時取得或設定要實例化的類別清單。

Code

取得或設定用於報告中表達式的自訂函式定義。

CodeModules

取得或設定程式碼模組,讓報告能用於表達式。

ComponentMetadata

取得或設定元件的元資料。

(繼承來源 ReportObject)
ConsumeContainerWhitespace

取得或設定一個值,指示當內容物成長時,容器中所有空白區域(如 Body 和 Rectangle)是否應被消耗,而非保留內容物與容器間的最小空白。

CustomProperties

取得或設定自訂資訊,交給報告渲染元件。

DataElementName

取得或設定代表報告資料的頂層元素名稱。

DataElementStyle

指示葉片層級的值,如文字框值與圖表資料值,應以元素或屬性形式呈現。

DataSchema

取得或設定用於報告資料渲染的結構或命名空間。

DataSets

取得或設定顯示在報告中的數據。

DataSources

取得或設定本報告資料集所取資料來源。

DataTransform

取得或設定位置為一個轉換,以套用到報表資料渲染。

DefaultFontFamily

取得子報告項目所使用的字型家族,當沒有明確定義字型家族時。

DeferVariableEvaluation

指出報告中變數是否在報表處理開始時不需要預先評估。

Description

取得或設定報告的描述。

DescriptionLocID

取得或設定該屬性的唯一識別碼 Description 。

EmbeddedImages

取得或設定報告中嵌入的圖片。

ExpressionDialog

定義報告中欄位控制項的內容。

InitialPageName

取得或設定報告頁面的首字母或預設名稱。

Language

取得或設定文本的主要語言。

MustUnderstand

取得或設定報告的 MustUnderstand(必須理解)值。

Page

取得或設定報告的頁面版面資訊。

Parent

本報告的母體反對。

(繼承來源 ReportObjectBase)
ReportID

取得或設定報告的唯一識別碼。

ReportParameters

取得或設定報告的參數集合。

ReportParametersLayout

取得或設定報告參數的版面。

ReportSections

負責取得或設定報告中的各部分。

ReportServerUrl

取得或設定報告伺服器的網址。

ReportTemplate

顯示該報告是否為報告範本。

ReportUnitType

取得或設定報告的預設單位類型。

Site

取得或設定與 ReportObject 物件相關的網站。

(繼承來源 ReportObject)
Variables

取得或設定整個報告中定義的變數。

Width

取得或設定報告的寬度。

方法

名稱 Description
DeepClone()

回傳一個深度複製品。ReportObject

(繼承來源 ReportObject)
GenerateDataSetName(String)

為報告中顯示的資料建立名稱。

GenerateItemName(String, String, Predicate<String>)

建立一個物品的名稱。

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

建立一個物品的名稱。

GetClsCompliantIdentifier(String)

取得符合通用語言規範(NORM)規範的識別碼。

GetContainingDataScopes()

回傳包含資料範圍的報告物件清單。

(繼承來源 ReportObject)
GetDataScopesFor(IContainedObject)

取得報告的資料範圍。

GetDataScopesForDefaultImpl(IContainedObject)

回傳預設實作的資料範圍。

(繼承來源 ReportObject)
GetDataSetByName(String)

透過名稱存取資料集。

GetDataSetsByDataSourceName(String)

用來源名稱取得資料集。

GetDataSourceByName(String)

透過名稱存取資料來源。

GetDependenciesCore(IList<ReportObject>)

回傳物件的 ReportObject 相依核心。

(繼承來源 ReportObject)
GetEmbeddedImageByName(String)

透過名稱存取嵌入的圖片。

GetReportParameterByName(String)

透過報告參數名稱存取。

Initialize()

初始化該 Report 類別的實例。

InitializeForDesigner()

初始化設計器的報表物件。

(繼承來源 ReportObject)
Load(Byte[])

從報告定義載入物件 Report 。

Load(Stream)

從報告定義載入物件 Report 。

Load(String)

從報告定義載入物件 Report 。

OnChildPropertyChanged(Int32, Object, Object)

在孩子財產變更時引發事件。

(繼承來源 ReportObject)
OnPropertyChanged(Int32, Object, Object)

當房產變更時觸發事件。

(繼承來源 ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

回傳報告定義語言語意是否與核心物件相同。

(繼承來源 ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

儲存報告物件的屬性值。

(繼承來源 ReportObject)

明確介面實作

名稱 Description
IComponent.Disposed

當物品被處置時 ReportObject 發生。

(繼承來源 ReportObject)
IDataScope.Group

取得資料群組。

IDataScope.Name

他會拿到資料範圍的名稱。

IDisposable.Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

(繼承來源 ReportObject)

適用於