Udostępnij przez


Metoda Report.GetReportUrlBuilder

Tworzy ReportUrlBuilder z początkowego adresu URL, opcjonalnie za pomocą wymiany głównego adresu URL.

Przestrzeń nazw:  Microsoft.ReportingServices.ReportRendering
Zestaw:  Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)

Składnia

'Deklaracja
Public Function GetReportUrlBuilder ( _
    initialUrl As String, _
    useReplacementRoot As Boolean, _
    addReportParameters As Boolean _
) As ReportUrlBuilder
'Użycie
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

Parametry

  • useReplacementRoot
    Typ: System.Boolean
    Wskazuje, czy główny zastępczego.Zobacz uwagi poniżej.
  • addReportParameters
    Typ: System.Boolean
    Wskazuje, czy dodać parametry raportu.

Uwagi

Metoda tworzy adres URL raportu z adresu URL, pod warunkiem że.Jeśli UseReplacementRoot jest true, hiperłącze jest zakodowany jako parametr na końcu ciąg zastępowania główny dla renderowania.

Jeśli adres URL ma być używany jako źródło danych, zestaw UseReplacementRoot do false.Jeśli adres URL ma być używany jako hiperłącze, zestaw UseReplacementRoot do true.