Loe inglise keeles

Jagamisviis:


ReportUrl Class

Definition

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.

C#
public sealed class ReportUrl
Inheritance
ReportUrl

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 Passing Device Information Settings to Rendering Extensions.

Methods

GetUrlBuilder(String, Boolean)

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.

ToString()

Returns the absolute URL.

ToUri()

Returns the URL as a Microsoft .NET Framework Uri object. This will always be an absolute URL with any necessary substitution performed.

Applies to

Toode Versioonid
SQL Server .NET SDK 2016