共用方式為


SPFormDigestSettings.Expires property

取得或設定值,指定安全性驗證是否可以到期,並要求送出表單之前] 頁面會重新整理。

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

Syntax

'宣告
Public Property Expires As Boolean
    Get
    Set
'用途
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若安全性驗證過期根據Timeout值,需要使用者在重新整理頁面之前送出表單 ;否則,請false。預設值為true。

請參閱

參照

SPFormDigestSettings class

SPFormDigestSettings members

Microsoft.SharePoint.Administration namespace