Share via


Office365Tenant.SetIdleSessionSignOutForUnmanagedDevices method

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

Syntax

'Declaration
Public Function SetIdleSessionSignOutForUnmanagedDevices ( _
    enabled As Boolean, _
    warnAfter As TimeSpan, _
    signOutAfter As TimeSpan _
) As ClientResult(Of Boolean)
'Usage
Dim instance As Office365Tenant
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 ClientResult<bool> SetIdleSessionSignOutForUnmanagedDevices(
    bool enabled,
    TimeSpan warnAfter,
    TimeSpan signOutAfter
)

Parameters

Return value

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

See also

Reference

Office365Tenant class

Office365Tenant members

Microsoft.Online.SharePoint.TenantManagement namespace