WindowsUpdateRestartRequestOptions.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 that indicates whether or not the update should opt out of the auto reboot flow.
public:
property bool OptOutOfAutoReboot { bool get(); void set(bool value); };
bool OptOutOfAutoReboot();
void OptOutOfAutoReboot(bool value);
public bool OptOutOfAutoReboot { get; set; }
var boolean = windowsUpdateRestartRequestOptions.optOutOfAutoReboot;
windowsUpdateRestartRequestOptions.optOutOfAutoReboot = boolean;
Public Property OptOutOfAutoReboot As Boolean
Property Value
bool
A value that indicates whether or not 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.