Dela via


HumanPresenceSettings.GetSupportedLockOnLeaveTimeouts Method

Definition

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.

Applies to

See also