共用方式為


Report.GetReportUrlBuilder Method

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

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

語法

'宣告
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

參數

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

傳回值

A ReportUrlBuilder object.

備註

新增:2005 年 12 月 5 日

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.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace