ReportUrl Class

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.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.ReportRendering.ReportUrl

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

Syntax

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

The ReportUrl type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the absolute URL. (Overrides Object.ToString().)
Public method ToUri Returns the URL as a Microsoft .NET Framework Uri object. This will always be an absolute URL with any necessary substitution performed.

Top

Remarks

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 Reporting Services Device Information Settings.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.