WindowsUpdateApprovalData.OptOutOfAutoReboot 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 whether the update should opt out of the auto reboot flow.
public:
property IReference<bool> ^ OptOutOfAutoReboot { IReference<bool> ^ get(); void set(IReference<bool> ^ value); };
IReference<bool> OptOutOfAutoReboot();
void OptOutOfAutoReboot(IReference<bool> value);
public System.Nullable<bool> OptOutOfAutoReboot { get; set; }
var iReference = windowsUpdateApprovalData.optOutOfAutoReboot;
windowsUpdateApprovalData.optOutOfAutoReboot = iReference;
Public Property OptOutOfAutoReboot As Nullable(Of Boolean)
Property Value
A value indicating whether the update should opt out of the auto reboot flow.
Remarks
If this property value is true
, then the device will attempt to automatically restart overnight when the end user is away.
If a Boolean value of false
is specified, then the device won't 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.