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


IRenderingExtension.Render Method

Renders the report according to the values in the parameters.

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

Синтаксис

'Декларация
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey:="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Function Render ( _
    report As Report, _
    reportServerParameters As NameValueCollection, _
    deviceInfo As NameValueCollection, _
    clientCapabilities As NameValueCollection, _
    evaluateHeaderFooterExpressions As EvaluateHeaderFooterExpressions, _
    createAndRegisterStream As CreateAndRegisterStream _
) As Boolean
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")] 
bool Render (
    Report report,
    NameValueCollection reportServerParameters,
    NameValueCollection deviceInfo,
    NameValueCollection clientCapabilities,
    EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
    CreateAndRegisterStream createAndRegisterStream
)
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey=L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")] 
bool Render (
    Report^ report, 
    NameValueCollection^ reportServerParameters, 
    NameValueCollection^ deviceInfo, 
    NameValueCollection^ clientCapabilities, 
    EvaluateHeaderFooterExpressions^ evaluateHeaderFooterExpressions, 
    CreateAndRegisterStream^ createAndRegisterStream
)
/** @attribute StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8") */ 
boolean Render (
    Report report, 
    NameValueCollection reportServerParameters, 
    NameValueCollection deviceInfo, 
    NameValueCollection clientCapabilities, 
    EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, 
    CreateAndRegisterStream createAndRegisterStream
)
function Render (
    report : Report, 
    reportServerParameters : NameValueCollection, 
    deviceInfo : NameValueCollection, 
    clientCapabilities : NameValueCollection, 
    evaluateHeaderFooterExpressions : EvaluateHeaderFooterExpressions, 
    createAndRegisterStream : CreateAndRegisterStream
) : boolean

Параметры

  • report
    The contents of the report.
  • reportServerParameters
    A string dictionary containing the parameters for the report server.
  • deviceInfo
    Device specific information that can be passed to the rendering extension at run time by client applications.
  • evaluateHeaderFooterExpressions
    The EvaluateHeaderFooterExpressions delegate to be called if the page header or its footer is dependent on the contents of the page.
  • createAndRegisterStream
    The delegate function to call to get a stream to render into. For more information, see CreateAndRegisterStream.

Возвращаемое значение

A Boolean value. A return value of true indicates that any properties added to the report object model are saved into the intermediate format.

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

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.

См. также

Справочник

IRenderingExtension Interface
IRenderingExtension Members
Microsoft.ReportingServices.ReportRendering Namespace