Partager via


IUpdate.GetSummary Method (ComputerTargetScope)

 

Applies To: Windows Server Update Services

Gets summary information about this update across the computers that match the specified criteria.

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

Syntax

IUpdateSummary GetSummary(
    ComputerTargetScope computersToInclude
)
IUpdateSummary^ GetSummary(
    ComputerTargetScope^ computersToInclude
)
abstract GetSummary : 
        computersToInclude:ComputerTargetScope -> IUpdateSummary
Function GetSummary (
    computersToInclude As ComputerTargetScope
) As IUpdateSummary

Parameters

Return Value

Type: Microsoft.UpdateServices.Administration.IUpdateSummary

An IUpdateSummary object with totals summed across all computers that match the specified search criteria.

Exceptions

Exception

Condition

ArgumentNullException

computersToInclude is null.

ArgumentOutOfRangeException

FromLastSyncTime is greater than ToLastSyncTime

--or--

FromLastReportedStatusTime is greater than ToLastReportedStatusTimee.

WsusObjectNotFoundException

The update could not be found in the database.

Remarks

If the ComputerTargetScope includes IncludedInstallationStates and/or ExcludedInstallationStates, the counts given will refer to this update only.

See Also

IUpdate Interface
Microsoft.UpdateServices.Administration Namespace

Return to top