IUpdate.GetUpdateInstallationInfoPerComputerTarget Method (IComputerTargetGroup, Boolean)
Applies To: Windows Server Update Services
Gets the installation information about this update for each computer in the specified target group.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
UpdateInstallationInfoCollection GetUpdateInstallationInfoPerComputerTarget(
IComputerTargetGroup targetGroup,
bool includeSubgroups
)
UpdateInstallationInfoCollection^ GetUpdateInstallationInfoPerComputerTarget(
IComputerTargetGroup^ targetGroup,
bool includeSubgroups
)
abstract GetUpdateInstallationInfoPerComputerTarget :
targetGroup:IComputerTargetGroup *
includeSubgroups:bool -> UpdateInstallationInfoCollection
Function GetUpdateInstallationInfoPerComputerTarget (
targetGroup As IComputerTargetGroup,
includeSubgroups As Boolean
) As UpdateInstallationInfoCollection
Parameters
targetGroup
Type: Microsoft.UpdateServices.Administration.IComputerTargetGroupThe group for which to get information.
includeSubgroups
Type: System.BooleanIf 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.UpdateInstallationInfoCollection
A collection of IUpdateInstallationInfo objects, one per computer in the specified target group.
Exceptions
Exception
Condition
targetGroup is null.
The update or the specified target group could not be found in the database.
See Also
GetUpdateInstallationInfoPerComputerTarget Overload
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace
Return to top