Condividi tramite


Classe ReportUrl

Represents a URL contained in a report. This class contains methods to convert the URL into several formats, and has code to handle ReplacementRoot for redirecting URLs within the server. The class can also build a URL that is passed multiple parameters. This class cannot be inherited.

Gerarchia di ereditarietà

System.Object
  Microsoft.ReportingServices.ReportRendering.ReportUrl

Spazio dei nomi  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ReportUrl
'Utilizzo
Dim instance As ReportUrl
public sealed class ReportUrl
public ref class ReportUrl sealed
[<SealedAttribute>]
type ReportUrl =  class end
public final class ReportUrl

Nel tipo ReportUrl sono esposti i membri seguenti.

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrlBuilder 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.
Metodo pubblico ToString Returns the absolute URL. Esegue l'override di Object.ToString().
Metodo pubblico ToUri Returns the URL as a Microsoft .NET Framework Uri object. This will always be an absolute URL with any necessary substitution performed.

In alto

Osservazioni

ReplacmentRoot 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. For more information on ReplacementRoot, see the device information settings for each rendering extension specified in Passaggio delle impostazioni relative alle informazioni sul dispositivo alle estensioni per il rendering.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.ReportingServices.ReportRendering