共用方式為


LocalReport.EnableHyperlinks 屬性

指出在報表含有超連結動作時,是否能轉譯報表。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
Public Property EnableHyperlinks As Boolean
public bool EnableHyperlinks { get; set; }
public:
property bool EnableHyperlinks {
    bool get ();
    void set (bool value);
}
member EnableHyperlinks : bool with get, set
function get EnableHyperlinks () : boolean
function set EnableHyperlinks (value : boolean)

屬性值

類型:Boolean
Boolean 值。此值為 true 時,表示具有外部影像時可呈現本機報表。預設值是 false。

備註

If this property is set to false, then attempting to render a report that has external images will result in a ReportSecurityException.

重要

Local reports that contain hyperlinks are not allowed to execute by default.Setting this property to true will enable local reports with hyperlinks to execute.This can be a security risk.  You should not enable this property on non-trusted reports.

請參閱

參考

LocalReport 類別

Microsoft.Reporting.WebForms 命名空間