IUpdate.GetSummaryForComputerTargetGroup Method (IComputerTargetGroup, Boolean)
Applies To: Windows Server Update Services
Gets the summary information about this update for the specified IComputerTargetGroup.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
IUpdateSummary GetSummaryForComputerTargetGroup(
IComputerTargetGroup targetGroup,
bool includeSubgroups
)
IUpdateSummary^ GetSummaryForComputerTargetGroup(
IComputerTargetGroup^ targetGroup,
bool includeSubgroups
)
abstract GetSummaryForComputerTargetGroup :
targetGroup:IComputerTargetGroup *
includeSubgroups:bool -> IUpdateSummary
Function GetSummaryForComputerTargetGroup (
targetGroup As IComputerTargetGroup,
includeSubgroups As Boolean
) As IUpdateSummary
Parameters
targetGroup
Type: Microsoft.UpdateServices.Administration.IComputerTargetGroupThe target group to get summary data for.
includeSubgroups
Type: System.BooleanA value indicating whether computers belonging to descendant subgroups should be included. If false, only direct members of this group are included; if true, members of this group and any descendant target groups are included.
Return Value
Type: Microsoft.UpdateServices.Administration.IUpdateSummary
IUpdateSummary object with totals summed across all Computers in the IComputerTargetGroup for this update.
Exceptions
Exception
Condition
targetGroup is a null reference.
The update or the specified target group could not be found in the database.
See Also
GetSummaryForComputerTargetGroup Overload
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace
Return to top