Share via


InformationRightsManagementSettings.AllowScript property

Gets or sets whether a viewer can run a script on the downloaded document.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property AllowScript As Boolean
    Get
    Set
'Usage
Dim instance As InformationRightsManagementSettings
Dim value As Boolean

value = instance.AllowScript

instance.AllowScript = value
public bool AllowScript { get; set; }

Property value

Type: System.Boolean
true if a script is allowed to run, otherwise false.

Remarks

The default value for this property is false.

See also

Reference

InformationRightsManagementSettings class

InformationRightsManagementSettings members

Microsoft.SharePoint.Client namespace