Поделиться через


Report.NeedsHeaderFooterEvaluation Property

Gets a value that indicates whether this page header or page footer needs to be evaluated during rendering.

Пространство имен: Microsoft.ReportingServices.ReportRendering
Сборка: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Синтаксис

'Декларация
Public ReadOnly Property NeedsHeaderFooterEvaluation As Boolean
public bool NeedsHeaderFooterEvaluation { get; }
public:
property bool NeedsHeaderFooterEvaluation {
    bool get ();
}
/** @property */
public boolean get_NeedsHeaderFooterEvaluation ()
public function get NeedsHeaderFooterEvaluation () : boolean

Значение свойства

A Boolean indicating whether this page header or page footer needs to be evaluated during rendering. If true, ReportItemCollection is null and the rendering extension should call the EvaluateHeaderFooterExpressions function after it has built the page.

Замечания

Добавления:5 декабря 2005 г.

The page header and footer of a report may include aggregates or other information that is dependent on the contents of that page of the report. The report server provides a callback delegate function called EvaluateHeaderFooterExpressions. If NeedsHeaderFooterEvaluation is true, the rendering extension creates a PageReportItems object and adds all the report items that are completely contained on the page into that collection. The rendering extension then calls the EvaluateHeaderFooterExpressions function, passing in the collection, and the report server returns the new page header and page footer. In the case that the header needs to be evaluated but the footer does not, or the footer needs evaluation but the header does not, the one needing evaluation is available from the result of EvaluateHeaderFooterExpressions, while the one that does not need evaluation is available directly in the report object model.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace