IUpdate.CancelDownload Method ()
Applies To: Windows Server Update Services
Stops downloading the update and its dependencies to the WSUS server.
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
abstract CancelDownload : unit -> unit
This method cancels the download only if the state of the update is NotReady.
If more than one update shares a dependency that is downloading, canceling one of the updates will cancel the other updates that share the dependency.
Note that an update can include a download job for each language it supports. Those download jobs that successfully completed before you called CancelDownload are retained; the others are canceled.
If HostBinariesOnMicrosoftUpdate is true, CancelDownload cancels the downloading of the end-user license agreements.
This operation requires WSUS Administrator privileges.
Return to top