共用方式為


IRenderingExtension.GetRenderingResource Method

Returns arbitrary information from the rendering extension without accessing the report.

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

語法

'宣告
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey:="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Sub GetRenderingResource ( _
    createAndRegisterStreamCallback As CreateAndRegisterStream, _
    deviceInfo As NameValueCollection _
)
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")] 
void GetRenderingResource (
    CreateAndRegisterStream createAndRegisterStreamCallback,
    NameValueCollection deviceInfo
)
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey=L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")] 
void GetRenderingResource (
    CreateAndRegisterStream^ createAndRegisterStreamCallback, 
    NameValueCollection^ deviceInfo
)
/** @attribute StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8") */ 
void GetRenderingResource (
    CreateAndRegisterStream createAndRegisterStreamCallback, 
    NameValueCollection deviceInfo
)
function GetRenderingResource (
    createAndRegisterStreamCallback : CreateAndRegisterStream, 
    deviceInfo : NameValueCollection
)

參數

  • createAndRegisterStreamCallback
    The delegate function to call to get a stream to render into. For more information, see CreateAndRegisterStream.
  • deviceInfo
    Device specific information that can be passed to the rendering extension at run time by client applications.

備註

This method can be used to return non-report-related information from the rendering extension assembly, for example, an embedded resource in the DLL. This method does not require the report to be fully processed and rendered. For example, to get the icon associated with the rendering extension, use a deviceInfo parameter containing the tag, <Icon>.

This method is not used to render images embedded in the report since this method does not take a report as an argument. For report images, you should use RenderStream.

執行緒安全性

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