Partilhar via


Método Report.GetReportUrlBuilder

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

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (em Microsoft.ReportingServices.ProcessingCore.dll)

Sintaxe

'Declaração
Public Function GetReportUrlBuilder ( _
    initialUrl As String, _
    useReplacementRoot As Boolean, _
    addReportParameters As Boolean _
) As ReportUrlBuilder
'Uso
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

Parâmetros

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

Valor de retorno

Tipo: Microsoft.ReportingServices.ReportRendering.ReportUrlBuilder
A ReportUrlBuilder object.

Comentários

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.

Consulte também

Referência

Report Classe

Namespace Microsoft.ReportingServices.ReportRendering