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

Public Property TokenTimeout As TimeSpan
    Get
    Set

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