IUpdateServer.GetContentDownloadProgress Method ()

 

Applies To: Windows Server Update Services

Gets the progress of all updates that are currently being downloaded.

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

Syntax

ContentDownloadProgress GetContentDownloadProgress()
ContentDownloadProgress^ GetContentDownloadProgress()
abstract GetContentDownloadProgress : unit -> ContentDownloadProgress
Function GetContentDownloadProgress As ContentDownloadProgress

Return Value

Type: Microsoft.UpdateServices.Administration.ContentDownloadProgress

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

Exceptions

Exception

Condition

InvalidOperationException

Unable to get the progress information.

Remarks

If HostBinariesOnMicrosoftUpdate is true, the return value represents the download progress of the end-user license agreements (EULAs); otherwise, it shows download progress for EULAs and updates.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top