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
- enabled
Type: System.Boolean
- warnAfter
Type: System.TimeSpan
- signOutAfter
Type: System.TimeSpan
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>