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

適用於