Partager via


Méthode IReportDefinitionCustomizationExtension.ProcessReportDefinition

Processes changes to a report definition.

Espace de noms :  Microsoft.ReportingServices.Interfaces
Assemblys :   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)

Syntaxe

'Déclaration
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Function ProcessReportDefinition ( _
    reportDefinition As Byte(), _
    reportContext As IReportContext, _
    userContext As IUserContext, _
    <OutAttribute> ByRef reportDefinitionProcessed As Byte(), _
    <OutAttribute> ByRef customizedElementIds As IEnumerable(Of RdceCustomizableElementId) _
) As Boolean
'Utilisation
Dim instance As IReportDefinitionCustomizationExtension 
Dim reportDefinition As Byte()
Dim reportContext As IReportContext 
Dim userContext As IUserContext 
Dim reportDefinitionProcessed As Byte()
Dim customizedElementIds As IEnumerable(Of RdceCustomizableElementId)
Dim returnValue As Boolean 

returnValue = instance.ProcessReportDefinition(reportDefinition, _
    reportContext, userContext, reportDefinitionProcessed, _
    customizedElementIds)
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
bool ProcessReportDefinition(
    byte[] reportDefinition,
    IReportContext reportContext,
    IUserContext userContext,
    out byte[] reportDefinitionProcessed,
    out IEnumerable<RdceCustomizableElementId> customizedElementIds
)
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
bool ProcessReportDefinition(
    array<unsigned char>^ reportDefinition, 
    IReportContext^ reportContext, 
    IUserContext^ userContext, 
    [OutAttribute] array<unsigned char>^% reportDefinitionProcessed, 
    [OutAttribute] IEnumerable<RdceCustomizableElementId>^% customizedElementIds
)
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
abstract ProcessReportDefinition : 
        reportDefinition:byte[] * 
        reportContext:IReportContext * 
        userContext:IUserContext * 
        reportDefinitionProcessed:byte[] byref * 
        customizedElementIds:IEnumerable<RdceCustomizableElementId> byref -> bool
function ProcessReportDefinition(
    reportDefinition : byte[], 
    reportContext : IReportContext, 
    userContext : IUserContext, 
    reportDefinitionProcessed : byte[], 
    customizedElementIds : IEnumerable<RdceCustomizableElementId>
) : boolean

Paramètres

  • reportDefinition
    Type : array<System.Byte[]
    The original report definition. For linked reports, the definition is the link target.
  • reportDefinitionProcessed
    Type : array<System.Byte[]%
    The new report definition.
  • customizedElementIds
    Type : System.Collections.Generic.IEnumerable<RdceCustomizableElementId>%
    The collection of the report elements that are customized. Reporting Services merges these elements with the original report definition.If null is returned, the new report definition is not merged with the original report definition.

Valeur de retour

Type : System.Boolean
A Boolean that indicates whether the report definition is changed.

Notes

This method returns true when the report definition is changed.

If the method returns false, the report server will not merge the processed definition with the original report definition. The original report definition will be used.

Voir aussi

Référence

IReportDefinitionCustomizationExtension Interface

Espace de noms Microsoft.ReportingServices.Interfaces