语言

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

定义

从初始 URL 创建 a 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

初始网址。

useReplacementRoot
Boolean

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

addReportParameters
Boolean

指示是否添加报告参数。

返回

ReportUrlBuilder 对象。

注解

该方法从提供的URL构建报告URL。 如果 UseReplacementRoot 是 true,超链接作为替换根字符串末尾的参数编码。

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

适用于