Export (0) Print
Expand All

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)

[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
bool ProcessReportDefinition(
	byte[] reportDefinition,
	IReportContext reportContext,
	IUserContext userContext,
	out byte[] reportDefinitionProcessed,
	out IEnumerable<RdceCustomizableElementId> customizedElementIds
)

Parameters

reportDefinition
Type: 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: Byte[]
The new report definition.
customizedElementIds
Type: 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: 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.

Community Additions

ADD
Show:
© 2014 Microsoft