SPFormDigestSettings.Enabled property

Gets or sets a value that determines whether security validation is included with all form pages.

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

Syntax

'Declaration
Public Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As SPFormDigestSettings
Dim value As Boolean

value = instance.Enabled

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

Property value

Type: System.Boolean
true to include the security validation with all form pages; otherwise, false. The default value is true.

Remarks

The security validation is checked during code execution and if it has changed, program execution is halted and a security exception is raised.

See also

Reference

SPFormDigestSettings class

SPFormDigestSettings members

Microsoft.SharePoint.Administration namespace