Export (0) Print
Expand All
Expand Minimize

IUpdateServer.CancelAllDownloads Method

Cancels current downloads for updates.


Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

void CancelAllDownloads ()
void CancelAllDownloads ()
function CancelAllDownloads ()

To restart canceled downloads, call ResumeAllDownloads. To restart individual update downloads, call ResumeDownload.

Note that an update can include a download job for each language that it supports. Those download jobs that are successfully completed before you called CancelAllDownloads are retained; the others are canceled.

To determine which updates are currently downloading, call State. The update is currently downloading if the state is NotReady.

If HostBinariesOnMicrosoftUpdate is true, CancelAllDownloads cancels the downloading of the end-user license agreements.

This operation requires WSUS Administrator privileges.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
Show:
© 2014 Microsoft