IReportDefinitionCustomizationExtension.ProcessReportDefinition Method

Definition

Processes changes to a report definition.

public:
 bool ProcessReportDefinition(cli::array <System::Byte> ^ reportDefinition, Microsoft::ReportingServices::Interfaces::IReportContext ^ reportContext, Microsoft::ReportingServices::Interfaces::IUserContext ^ userContext, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % reportDefinitionProcessed, [Runtime::InteropServices::Out] System::Collections::Generic::IEnumerable<Microsoft::ReportingServices::Interfaces::RdceCustomizableElementId> ^ % customizedElementIds);
public bool ProcessReportDefinition (byte[] reportDefinition, Microsoft.ReportingServices.Interfaces.IReportContext reportContext, Microsoft.ReportingServices.Interfaces.IUserContext userContext, out byte[] reportDefinitionProcessed, out System.Collections.Generic.IEnumerable<Microsoft.ReportingServices.Interfaces.RdceCustomizableElementId> customizedElementIds);
abstract member ProcessReportDefinition : byte[] * Microsoft.ReportingServices.Interfaces.IReportContext * Microsoft.ReportingServices.Interfaces.IUserContext * Byte[] * seq -> bool
Public Function ProcessReportDefinition (reportDefinition As Byte(), reportContext As IReportContext, userContext As IUserContext, ByRef reportDefinitionProcessed As Byte(), ByRef customizedElementIds As IEnumerable(Of RdceCustomizableElementId)) As Boolean

Parameters

reportDefinition
Byte[]

The original report definition. For linked reports, the definition is the link target.

reportContext
IReportContext

An IReportContext object that specifies the context of the report.

userContext
IUserContext

An IUserContext object that specifies the context of the user session.

reportDefinitionProcessed
Byte[]

The new report definition.

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

Returns

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.

Applies to