IUpdateServer.CancelAllDownloads()

Cancels updates that are currently being downloaded to the WSUS server.

public void CancelAllDownloads();
Public Sub CancelAllDownloads()
Implements IUpdateServer.CancelAllDownloads

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Remarks

To restart canceled downloads, call IUpdateServer.ResumeAllDownloads. To restart individual update downloads, call IUpdate.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 IUpdate.State. The update is currently downloading if the state is UpdateState.NotReady.

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

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.

See Also

IUpdate.CancelDownload
IUpdateServer.ResumeAllDownloads