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
updatesToInclude
Type: Microsoft.UpdateServices.Administration.UpdateScopeAn UpdateScope that defines the updates to summarize
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
The computer could not be found in the database.
updatesToInclude.FromArrivalDate is greater than updatesToInclude.ToArrivalDate
-or--updatesToInclude.FromCreationDate is greater than updatesToInclude.ToCreationDate.
updatesToInclude is null.
See Also
GetUpdateInstallationSummary Overload
IComputerTarget Interface
Microsoft.UpdateServices.Administration Namespace
Return to top