LocalReport.EnableExternalImages Property
Indicates whether the report can be rendered if it has external images.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)
Syntax
'Declaration
<NotifyParentPropertyAttribute(True)> _
<CategoryAttribute("Security")> _
<DefaultValueAttribute(False)> _
Public Property EnableExternalImages As Boolean
'Usage
Dim instance As LocalReport
Dim value As Boolean
value = instance.EnableExternalImages
instance.EnableExternalImages = value
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute("Security")]
[DefaultValueAttribute(false)]
public bool EnableExternalImages { get; set; }
[NotifyParentPropertyAttribute(true)]
[CategoryAttribute(L"Security")]
[DefaultValueAttribute(false)]
public:
property bool EnableExternalImages {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_EnableExternalImages ()
/** @property */
public void set_EnableExternalImages (boolean value)
public function get EnableExternalImages () : boolean
public function set EnableExternalImages (value : boolean)
Property Value
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.
Remarks
If this property is set to false, then attempting to render a report that has external images will result in a ReportSecurityException.
Important
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.
See Also
Reference
LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace