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)
Available in Sandboxed Solutions: No

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