Поделиться через


IComputerTargetGroup.GetSummaryPerUpdate Method ()

 

Applies To: Windows Server Update Services

Gets the summary installation counts for all approved updates.

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

Syntax

UpdateSummaryCollection GetSummaryPerUpdate()
UpdateSummaryCollection^ GetSummaryPerUpdate()
abstract GetSummaryPerUpdate : unit -> UpdateSummaryCollection
Function GetSummaryPerUpdate As UpdateSummaryCollection

Return Value

Type: Microsoft.UpdateServices.Administration.UpdateSummaryCollection

An UpdateSummaryCollection collection that contains summary installation counts for all approved updates. The results are summarized by update (each member of the collection represents an approved update). For example, for each update, the collection provides the number of clients in this group that have successfully installed the update.

Exceptions

Exception

Condition

WsusObjectNotFoundException

Summary information for the target group is not available.

Remarks

The collection may include updates that were not approved for deployment to this target group. For example, if the WSUS server contains 10 updates, with 8 updates being approved for deployment (5 approved for deployment to this group and 3 approved for deployment to another group), this method would return an UpdateSummaryCollection collection that contains 8 members.

If the update was not approved for deployment to this group of computers, the value for UnknownCount should be equal to the number of clients in this group.

The UnknownCount also represents those clients in this group that have not reported their status. You can call GetUpdateApprovals to determine if the update is deployed to this group so that you will know for certain as to which state the count represents. However, if the unknown count is less than the number of clients in this group, then the update was approved for deployment to this group.

To get summary information that sums the results for all updates that are deployed to all clients in the group, call GetTotalSummary

See Also

GetSummaryPerUpdate Overload
IComputerTargetGroup Interface
Microsoft.UpdateServices.Administration Namespace

Return to top