SPFormDigestSettings.Expires property

Gets or sets a value specifying whether security validation can expire, and requires that the page be refreshed before the form can be submitted.

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

Syntax

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

value = instance.Expires

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

Property value

Type: System.Boolean
true if the security validation expires based on the Timeout value, requiring the user to refresh the page before submitting the form; otherwise, false. The default value is true.

See also

Reference

SPFormDigestSettings class

SPFormDigestSettings members

Microsoft.SharePoint.Administration namespace