Udostępnij za pośrednictwem


Report.GetReportUrlBuilder Method

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

Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntax

'Declaration
Public Function GetReportUrlBuilder ( _
    initialUrl As String, _
    useReplacementRoot As Boolean, _
    addReportParameters As Boolean _
) As ReportUrlBuilder
public ReportUrlBuilder GetReportUrlBuilder (
    string initialUrl,
    bool useReplacementRoot,
    bool addReportParameters
)
public:
ReportUrlBuilder^ GetReportUrlBuilder (
    String^ initialUrl, 
    bool useReplacementRoot, 
    bool addReportParameters
)
public ReportUrlBuilder GetReportUrlBuilder (
    String initialUrl, 
    boolean useReplacementRoot, 
    boolean addReportParameters
)
public function GetReportUrlBuilder (
    initialUrl : String, 
    useReplacementRoot : boolean, 
    addReportParameters : boolean
) : ReportUrlBuilder

Parameters

  • initialUrl
    The initial URL.
  • useReplacementRoot
    Indicates whether to use a replacement root. See remarks below.
  • addReportParameters
    Indicates whether to add report parameters.

Return Value

A ReportUrlBuilder object.

Remarks

New:5 December 2005

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace