IReportDefinitionCustomizationExtension.ProcessReportDefinition 方法

Processes changes to a report definition.

命名空间:  Microsoft.ReportingServices.Interfaces
程序集:   Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
  Microsoft.ReportingServices.Interfaces(在 Microsoft.ReportingServices.Interfaces.dll 中)

语法

声明
<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
用法
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

参数

  • reportDefinition
    类型:array<System.Byte[]
    The original report definition. For linked reports, the definition is the link target.
  • reportDefinitionProcessed
    类型:array<System.Byte[]%
    The new report definition.
  • customizedElementIds
    类型: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.

返回值

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

注释

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.

请参阅

参考

IReportDefinitionCustomizationExtension 接口

Microsoft.ReportingServices.Interfaces 命名空间