Report.GetReportUrlBuilder(String, Boolean, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從初始 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。 如果UseReplacementRoot為 true ,則在轉譯器的取代根字串結尾,會將超連結編碼為參數。
如果 URL 要當做資料的來源使用,請將UseReplacementRoot設定為 false 。 如果 URL 要當做超連結使用,請將UseReplacementRoot設定為 true 。