Share via


Tenant.SetIdleSessionSignOutForUnmanagedDevices method

Namespace:  Microsoft.Online.SharePoint.TenantAdministration
Assembly:  Microsoft.Online.SharePoint.Client.Tenant (in Microsoft.Online.SharePoint.Client.Tenant.dll)

Syntax

'Declaration
Public Overridable Function SetIdleSessionSignOutForUnmanagedDevices ( _
    enabled As Boolean, _
    warnAfter As TimeSpan, _
    signOutAfter As TimeSpan _
) As ClientResult(Of Boolean)
'Usage
Dim instance As Tenant
Dim enabled As Boolean
Dim warnAfter As TimeSpan
Dim signOutAfter As TimeSpan
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.SetIdleSessionSignOutForUnmanagedDevices(enabled, _
    warnAfter, signOutAfter)
public virtual ClientResult<bool> SetIdleSessionSignOutForUnmanagedDevices(
    bool enabled,
    TimeSpan warnAfter,
    TimeSpan signOutAfter
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>

See also

Reference

Tenant class

Tenant members

Microsoft.Online.SharePoint.TenantAdministration namespace