Share via


EasClientSecurityPolicy.MaxInactivityTimeLock Property

Definition

Note

EasClientSecurityPolicy may be unavailable for releases after Windows 10.

Gets or sets the maximum length of time the computer can remain inactive before it is locked. The MS-ASPROV name is MaxInactivityTimeDeviceLock.

public:
 property TimeSpan MaxInactivityTimeLock { TimeSpan get(); void set(TimeSpan value); };
TimeSpan MaxInactivityTimeLock();

void MaxInactivityTimeLock(TimeSpan value);
public System.TimeSpan MaxInactivityTimeLock { get; set; }
var timeSpan = easClientSecurityPolicy.maxInactivityTimeLock;
easClientSecurityPolicy.maxInactivityTimeLock = timeSpan;
Public Property MaxInactivityTimeLock As TimeSpan

Property Value

The length of time allows for inactivity before the computer is locked.

Applies to