共用方式為


IRenderingExtension.RenderStream Method

Renders a particular stream from the report. All streams are created during the initial call to Render, but the streams are not immediately returned.

命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

語法

'宣告
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey:="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Function RenderStream ( _
    streamName As String, _
    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 RenderStream (
    string streamName,
    Report report,
    NameValueCollection reportServerParameters,
    NameValueCollection deviceInfo,
    NameValueCollection clientCapabilities,
    EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
    CreateAndRegisterStream createAndRegisterStream
)
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey=L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")] 
bool RenderStream (
    String^ streamName, 
    Report^ report, 
    NameValueCollection^ reportServerParameters, 
    NameValueCollection^ deviceInfo, 
    NameValueCollection^ clientCapabilities, 
    EvaluateHeaderFooterExpressions^ evaluateHeaderFooterExpressions, 
    CreateAndRegisterStream^ createAndRegisterStream
)
/** @attribute StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8") */ 
boolean RenderStream (
    String streamName, 
    Report report, 
    NameValueCollection reportServerParameters, 
    NameValueCollection deviceInfo, 
    NameValueCollection clientCapabilities, 
    EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions, 
    CreateAndRegisterStream createAndRegisterStream
)
function RenderStream (
    streamName : String, 
    report : Report, 
    reportServerParameters : NameValueCollection, 
    deviceInfo : NameValueCollection, 
    clientCapabilities : NameValueCollection, 
    evaluateHeaderFooterExpressions : EvaluateHeaderFooterExpressions, 
    createAndRegisterStream : CreateAndRegisterStream
) : boolean

參數

  • streamName
    A string containing the name of the stream to render.
  • 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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IRenderingExtension Interface
IRenderingExtension Members
Microsoft.ReportingServices.ReportRendering Namespace