IClusterNodeUpdater.InstallAsync method
Starts a task that will install any applicable updates.
Syntax
System.Threading.Tasks.Task InstallAsync(
IInstallCallback installCallback
)
Parameters
installCallback
Type: IInstallCallbackAn interface that allows the plugin to report the progress of the install operation and any updates that are installed. The callback methods are thread safe and can be called from any thread.
Return value
Type: System.Threading.Tasks.Task
A task object that can be used to track the install operation. The task should already be running.
Remarks
The install operation should be run on the node specified in the call to CreateUpdater. Similarly, the System.Threading.CancellationToken passed to CreateUpdater will be used to signal cancellation.
The target node will be in Node Maintenance mode at the time this method is called.
This task does not need to handle rebooting and re-scanning for any dependent updates, like second-order and third-order updates. If any UpdateInstallResult objects reported to installCallback indicate that a reboot is necessary, the CAU tool reboots the node as necessary and will re-scan, stage, and install until no more updates are found.
Requirements
Server |
Windows ServerĀ 2012 |
Namespace |
Microsoft.ClusterAwareUpdating |