Share via


IComputerTarget.GetUpdateInstallationSummary Method (UpdateScope)

 

Applies To: Windows Server Update Services

Gets the installation summary for all updates that match the specified scope on this computer.

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

Syntax

IUpdateSummary GetUpdateInstallationSummary(
    UpdateScope updatesToInclude
)
IUpdateSummary^ GetUpdateInstallationSummary(
    UpdateScope^ updatesToInclude
)
abstract GetUpdateInstallationSummary : 
        updatesToInclude:UpdateScope -> IUpdateSummary
Function GetUpdateInstallationSummary (
    updatesToInclude As UpdateScope
) As IUpdateSummary

Parameters

Return Value

Type: Microsoft.UpdateServices.Administration.IUpdateSummary

An IUpdateSummary with the counts for all the updates that match the specified UpdateScope on this computer.

Exceptions

Exception

Condition

WsusObjectNotFoundException

The computer could not be found in the database.

ArgumentOutOfRangeException

updatesToInclude.FromArrivalDate is greater than updatesToInclude.ToArrivalDate

-or--updatesToInclude.FromCreationDate is greater than updatesToInclude.ToCreationDate.

ArgumentNullException

updatesToInclude is null.

See Also

GetUpdateInstallationSummary Overload
IComputerTarget Interface
Microsoft.UpdateServices.Administration Namespace

Return to top