共用方式為


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.

繼承階層

System.Object
  Microsoft.ReportingServices.ReportRendering.ReportUrl

命名空間:  Microsoft.ReportingServices.ReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public NotInheritable Class ReportUrl
'用途
Dim instance As ReportUrl
public sealed class ReportUrl
public ref class ReportUrl sealed
[<SealedAttribute>]
type ReportUrl =  class end
public final class ReportUrl

ReportUrl 型別公開下列成員。

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 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.
公用方法 ToString Returns the absolute URL. (覆寫 Object.ToString()。)
公用方法 ToUri Returns the URL as a Microsoft .NET Framework Uri object. This will always be an absolute URL with any necessary substitution performed.

上層

備註

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 將裝置資訊設定傳遞至轉譯延伸模組.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.ReportingServices.ReportRendering 命名空間