語言

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 物件。

備註

此方法會從所提供的網址建立報表網址。 若 UseReplacementRoot 為 true,超連結會編碼為渲染器替換根字串末尾的參數。

如果 URL 要作為資料來源,請將 UseReplacementRoot 設為 false。 如果 URL 要用作超連結,請將 UseReplacementRoot 設為 true。

適用於