共用方式為


SPExternalApplicationSettings.TokenTimeout Property

Gets or sets the length of time that a request token given to an external application is valid.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property TokenTimeout As TimeSpan
    Get
    Set
'Usage
Dim instance As SPExternalApplicationSettings
Dim value As TimeSpan

value = instance.TokenTimeout

instance.TokenTimeout = value
public TimeSpan TokenTimeout { get; set; }

Property Value

Type: System.TimeSpan
The life span of a request token.

See Also

Reference

SPExternalApplicationSettings Class

SPExternalApplicationSettings Members

Microsoft.SharePoint.Administration Namespace