IUpdate.GetUpdateInstallationInfoPerComputerTarget(IComputerTargetGroup)
Retrieves a collection of installation information for each client in the specified target group.
public UpdateInstallationInfoCollection GetUpdateInstallationInfoPerComputerTarget(IComputerTargetGrouptargetGroup);
Public Function GetUpdateInstallationInfoPerComputerTarget( _
ByVal targetGroup As IComputerTargetGroup _
) As UpdateInstallationInfoCollection
Implements IUpdate.GetUpdateInstallationInfoPerComputerTarget
Parameters
targetGroup
Target group for which you want to retrieve client installation information.To specify All Computers or Unassigned Computers, use ComputerTargetGroupId.AllComputers and ComputerTargetGroupId.UnassignedComputers, respectively, when you create your target group.
Return Value
An UpdateInstallationInfoCollection collection that contains the installation state for each client in the target group.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentNullException | targetGroup cannot be null. |
WsusObjectNotFoundException | The target group does not exist. |
Remarks
To retrieve summary information for each target group to which the update applies, call IUpdate.GetSummaryPerComputerTargetGroup.
Requirements
Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
Namespace | Defined in Microsoft.UpdateServices.Administration. |
Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
.NET Framework | Requires .NET Framework 1.1. |