Propriedade LocalReport.EnableExternalImages
Indicates whether the report can be rendered if it has external images.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
Public Property EnableExternalImages As Boolean
public bool EnableExternalImages { get; set; }
public:
property bool EnableExternalImages {
bool get ();
void set (bool value);
}
member EnableExternalImages : bool with get, set
function get EnableExternalImages () : boolean
function set EnableExternalImages (value : boolean)
Valor de propriedade
Tipo: Boolean
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.
Comentários
If this property is set to false, then attempting to render a report that has external images will result in a ReportSecurityException.
Importante |
---|
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. |