Report.GetReportUrlBuilder(String, Boolean, Boolean) 方法

定义

根据初始 URL 创建 ReportUrlBuilder,可选择使用替换 URL 根。

public:
 Microsoft::ReportingServices::ReportRendering::ReportUrlBuilder ^ GetReportUrlBuilder(System::String ^ initialUrl, bool useReplacementRoot, bool addReportParameters);
public Microsoft.ReportingServices.ReportRendering.ReportUrlBuilder GetReportUrlBuilder (string initialUrl, bool useReplacementRoot, bool addReportParameters);
member this.GetReportUrlBuilder : string * bool * bool -> Microsoft.ReportingServices.ReportRendering.ReportUrlBuilder
Public Function GetReportUrlBuilder (initialUrl As String, useReplacementRoot As Boolean, addReportParameters As Boolean) As ReportUrlBuilder

参数

initialUrl
String

初始 URL。

useReplacementRoot
Boolean

指示是否使用替换根。 请参阅下面的备注。

addReportParameters
Boolean

指示是否添加报表参数。

返回

ReportUrlBuilder

ReportUrlBuilder 对象。

注解

方法从提供的 URL 生成报表 URL。 如果UseReplacementRoottrue ,则将超链接编码为呈现器的替换根字符串末尾的参数。

如果要将该 URL 用作数据的源,请将UseReplacementRoot设置为 false 。 如果要将该 URL 用作超链接,请将UseReplacementRoot设置为 true

适用于