Partager via


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.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.ReportingServices.ReportRendering..::..ReportUrl

Espace de noms :  Microsoft.ReportingServices.ReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ReportUrl
'Utilisation
Dim instance As ReportUrl
public sealed class ReportUrl
public ref class ReportUrl sealed
[<SealedAttribute>]
type ReportUrl =  class end
public final class ReportUrl

Le type ReportUrl expose les membres suivants.

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique 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.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns the absolute URL. (remplace Object. . :: . .ToString() () () ().)
Méthode publique ToUri Returns the URL as a Microsoft .NET Framework Uri object. This will always be an absolute URL with any necessary substitution performed.

Haut de la page

Notes

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 Paramètres d'informations de périphérique Reporting Services.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.