Share via


SPWebService.TokenTimeout property

Gets or sets the amount of time before a user token times out.

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

Syntax

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

value = instance.TokenTimeout

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

Property value

Type: System.TimeSpan
A TimeSpan object. The default is 1440 minutes.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace