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 对象。

注解

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

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

适用于