Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ExecutionMode Enum

Lists the available script executions modes.

Namespace: DevExpress.XtraReports.Security

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public enum ExecutionMode

#Members

Name Description
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.

#Related API Members

The following properties accept/return ExecutionMode values:

#Remarks

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

See Also