Back to Devexpress

ExecutionMode Enum

xtrareports-devexpress-dot-xtrareports-dot-security-787e3f68.md

latest2.0 KB
Original Source

ExecutionMode Enum

Lists the available script executions modes.

Namespace : DevExpress.XtraReports.Security

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public enum ExecutionMode
vb
Public Enum ExecutionMode

Members

NameDescription
Deny

Denies the execution of any scripts and disables the capability to invoke the Scripts editor in the Report Designer (by removing the Scripts toolbar button, along with a section listing script events of a control in the Properties window).

| | Unrestricted |

Enables the execution of any script at your own risk.

| | Restricted |

Obsolete. Enables the execution of scripts under the specified restrictions. To apply restrictions, it is required to enable the CAS policy option in the application’s configuration file.

|

The following properties accept/return ExecutionMode values:

Remarks

An ExecutionMode enumeration value is returned by the ScriptPermissionManager.ScriptExecutionMode property.

See Also

Use Report Scripts

DevExpress.XtraReports.Security Namespace