LocalReport.EnableExternalImages 属性

Indicates whether the report can be rendered if it has external images.

命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll 中)

语法

声明
用法

属性值

A Boolean value. A value of true indicates that the local report can be rendered if it has external images. The default value is false.

备注

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

Note重要说明

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

另请参见

参考

LocalReport 类
LocalReport 成员
Microsoft.Reporting.WebForms 命名空间