Share via


IUpdateServer.GetContentDownloadProgress()

Retrieves the progress of all updates that are currently downloading.

public ContentDownloadProgress GetContentDownloadProgress();
Public Function GetContentDownloadProgress() As ContentDownloadProgress
Implements IUpdateServer.GetContentDownloadProgress

Parameters

This method has no parameters.

Return Value

Provides the total number of bytes to download and the number of bytes downloaded so far.

Exceptions

Exception type Condition
System.InvalidOperationException Unable to retrieve the progress information.

Remarks

If IUpdateServerConfiguration.HostBinariesOnMicrosoftUpdate is true, the progress shows the progress of downloading the end-user license agreements (EULAs); otherwise, the progress shows the progress of downloading the EULAs and updates.

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

ContentDownloadProgress