SPSecurityTokenServiceManager.FormsTokenLifetime property
取得或設定為使用表單型登入的登入簽發的 token 的存留期。
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property FormsTokenLifetime As TimeSpan
Get
Set
'用途
Dim instance As SPSecurityTokenServiceManager
Dim value As TimeSpan
value = instance.FormsTokenLifetime
instance.FormsTokenLifetime = value
public TimeSpan FormsTokenLifetime { get; set; }
Property value
Type: System.TimeSpan
權杖存留期。預設值為 10 小時。
請參閱
參照
SPSecurityTokenServiceManager class