共用方式為


Report.GetReportUrlBuilder 方法

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

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Function GetReportUrlBuilder ( _
    initialUrl As String, _
    useReplacementRoot As Boolean, _
    addReportParameters As Boolean _
) As ReportUrlBuilder
'用途
Dim instance As Report 
Dim initialUrl As String 
Dim useReplacementRoot As Boolean 
Dim addReportParameters As Boolean 
Dim returnValue As ReportUrlBuilder 

returnValue = instance.GetReportUrlBuilder(initialUrl, _
    useReplacementRoot, addReportParameters)
public ReportUrlBuilder GetReportUrlBuilder(
    string initialUrl,
    bool useReplacementRoot,
    bool addReportParameters
)
public:
ReportUrlBuilder^ GetReportUrlBuilder(
    String^ initialUrl, 
    bool useReplacementRoot, 
    bool addReportParameters
)
member GetReportUrlBuilder : 
        initialUrl:string * 
        useReplacementRoot:bool * 
        addReportParameters:bool -> ReportUrlBuilder
public function GetReportUrlBuilder(
    initialUrl : String, 
    useReplacementRoot : boolean, 
    addReportParameters : boolean
) : ReportUrlBuilder

參數

  • useReplacementRoot
    型別:System.Boolean
    Indicates whether to use a replacement root. See remarks below.
  • addReportParameters
    型別:System.Boolean
    Indicates whether to add report parameters.

傳回值

型別:Microsoft.ReportingServices.ReportRendering.ReportUrlBuilder
A ReportUrlBuilder object.

備註

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.

請參閱

參考

Report 類別

Microsoft.ReportingServices.ReportRendering 命名空間