Report.GetReportUrlBuilder(String, Boolean, Boolean) Method

Definition

Creates a ReportUrlBuilder from an initial URL, optionally using a replacement URL root.

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

Parameters

initialUrl
String

The initial URL.

useReplacementRoot
Boolean

Indicates whether to use a replacement root. See remarks below.

addReportParameters
Boolean

Indicates whether to add report parameters.

Returns

A ReportUrlBuilder object.

Remarks

The method builds the report URL from the URL provided. If UseReplacementRoot is true, the hyperlink is encoded as a parameter on the end of the replacement root string for the renderer.

If the URL is to be used as a source for data, set UseReplacementRoot to false. If the URL is to be used as a hyperlink, set UseReplacementRoot to true.

Applies to