Condividi tramite


IRenderingExtension.GetRenderingResource Method

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

Spazio dei nomi: Microsoft.ReportingServices.ReportRendering
Assembly : Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Sintassi

'Dichiarazione
<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
)

Parametri

  • 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.

Osservazioni

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.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

IRenderingExtension Interface
IRenderingExtension Members
Microsoft.ReportingServices.ReportRendering Namespace