SPInformationRightsManagementSettings.AllowScript property

Gets or sets a value indicating whether the viewer can run a script on the 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 SPInformationRightsManagementSettings
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 is false.

See also

Reference

SPInformationRightsManagementSettings class

SPInformationRightsManagementSettings members

Microsoft.SharePoint namespace