SPFileRightsManagementSettings.AllowScript property

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

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

Syntax

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

value = instance.AllowScript

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

Property value

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

Remarks

Default value is false.

See also

Reference

SPFileRightsManagementSettings class

SPFileRightsManagementSettings members

Microsoft.SharePoint namespace