HumanPresenceSettings.GetSupportedLockOnLeaveTimeouts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the collection of intervals (from the system settings) used to specify how much time should pass before locking the PC after a user is no longer detected.
public:
static IVectorView<TimeSpan> ^ GetSupportedLockOnLeaveTimeouts();
static IVectorView<TimeSpan> GetSupportedLockOnLeaveTimeouts();
public static IReadOnlyList<System.TimeSpan> GetSupportedLockOnLeaveTimeouts();
function getSupportedLockOnLeaveTimeouts()
Public Shared Function GetSupportedLockOnLeaveTimeouts () As IReadOnlyList(Of TimeSpan)
Returns
The collection of intervals (from the system settings) used to specify how much time should pass before locking the PC after a user is no longer detected.
Remarks
Use LockOnLeaveTimeout to get the currently selected interval.