EasClientSecurityPolicy.MaxInactivityTimeLock Property
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.
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.