IReportDefinitionCustomizationExtension.ProcessReportDefinition Method
Processes changes to a report definition.
Namespace: Microsoft.ReportingServices.Interfaces
Assemblies: Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
Syntax
'Declaration
<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
'Usage
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
Parameters
- reportDefinition
Type: array<System.Byte[]
The original report definition. For linked reports, the definition is the link target.
- reportContext
Type: Microsoft.ReportingServices.Interfaces.IReportContext
An IReportContext object that specifies the context of the report.
- userContext
Type: Microsoft.ReportingServices.Interfaces.IUserContext
An IUserContext object that specifies the context of the user session.
- 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.
Return Value
Type: System.Boolean
A Boolean that indicates whether the report definition is changed.
Remarks
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.