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