WindowsUpdateApprovalData.ComplianceGracePeriodInDays 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.
Gets or sets a value indicating the compliance grace period in days before a reboot must occur in order to complete the update.
public:
property IReference<int> ^ ComplianceGracePeriodInDays { IReference<int> ^ get(); void set(IReference<int> ^ value); };
IReference<int> ComplianceGracePeriodInDays();
void ComplianceGracePeriodInDays(IReference<int> value);
public System.Nullable<int> ComplianceGracePeriodInDays { get; set; }
var iReference = windowsUpdateApprovalData.complianceGracePeriodInDays;
windowsUpdateApprovalData.complianceGracePeriodInDays = iReference;
Public Property ComplianceGracePeriodInDays As Nullable(Of Integer)
Property Value
A value indicating the compliance grace period in days before a reboot must occur in order to complete the update.
Remarks
The end user will have the number of days specified by ComplianceDeadlineInDays in which to take the reboot. The end user will then be forced to reboot after the number of days specified by ComplianceGracePeriodInDays have passed. Prior to this deadline being reached, the device will attempt to automatically restart overnight when the end user is away. That will happen if the Boolean value of true
is specified for OptOutOfAutoReboot. If a Boolean value of false
is specified, then the device will not automatically restart when the end user is away. The end user will see a variety of notifications asking them to "schedule the restart", "restart now", or "restart tonight", and they will become progressively more demanding in terms of notification language and frequency as they near the forced restart.
If an update doesn't require a reboot to complete, then this field will have no effect.