IReportDefinitionCustomizationExtension.ProcessReportDefinition 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
处理报告定义的变更。
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
参数
- reportDefinition
- Byte[]
原始报告定义。 对于链接报告,定义是链接目标。
- reportContext
- IReportContext
一个 IReportContext 指定报告上下文的对象。
- userContext
- IUserContext
一个 IUserContext 指定用户会话上下文的对象。
- reportDefinitionProcessed
- Byte[]
新的报告定义。
- customizedElementIds
- IEnumerable<RdceCustomizableElementId>
报告元素的集合是定制的。 Reporting Services将这些元素与原始报告定义合并。
如果返回 null,新的报告定义不会与原始报告定义合并。
返回
Boolean A表示报告定义是否被更改。
注解
当报告定义发生变化时,该方法会返回 true 。
如果方法返回 false,报告服务器不会将处理中的定义与原始报告定义合并。 将使用原始报告定义。