共用方式為


ReportUrl.GetUrlBuilder Method

Creates a report URL in the form of a ReportUrlBuilder object from an initial URL, optionally using a replacement URL root. The URL can be relative.

命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

語法

'宣告
Public Function GetUrlBuilder ( _
    initialUrl As String, _
    useReplacementRoot As Boolean _
) As ReportUrlBuilder
public ReportUrlBuilder GetUrlBuilder (
    string initialUrl,
    bool useReplacementRoot
)
public:
ReportUrlBuilder^ GetUrlBuilder (
    String^ initialUrl, 
    bool useReplacementRoot
)
public ReportUrlBuilder GetUrlBuilder (
    String initialUrl, 
    boolean useReplacementRoot
)
public function GetUrlBuilder (
    initialUrl : String, 
    useReplacementRoot : boolean
) : ReportUrlBuilder

參數

  • useReplacementRoot
    A Boolean indicating how to process the initialUrl parameter. If useReplacementRoot is true, the method sends the hyperlink through the user interface and encodes it as a parameter on the end of the replacement root string for rendering. 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.

傳回值

A ReportUrlBuilder object.

備註

ReplacementRoot is the new URL root to use for all URLs inside the report server. This is used by the UI to redirect links in reports to other reports. The default value is an empty string, which indicates that no redirection takes place.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ReportUrl Class
ReportUrl Members
Microsoft.ReportingServices.ReportRendering Namespace