共用方式為


IUpdate.GetUpdateInstallationInfoPerComputerTarget Method (IComputerTargetGroup)

 

Applies To: Windows Server Update Services

Gets a collection of installation information for each client in the specified target group.

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

Syntax

UpdateInstallationInfoCollection GetUpdateInstallationInfoPerComputerTarget(
    IComputerTargetGroup targetGroup
)
UpdateInstallationInfoCollection^ GetUpdateInstallationInfoPerComputerTarget(
    IComputerTargetGroup^ targetGroup
)
abstract GetUpdateInstallationInfoPerComputerTarget : 
        targetGroup:IComputerTargetGroup -> UpdateInstallationInfoCollection
Function GetUpdateInstallationInfoPerComputerTarget (
    targetGroup As IComputerTargetGroup
) As UpdateInstallationInfoCollection

Parameters

Return Value

Type: Microsoft.UpdateServices.Administration.UpdateInstallationInfoCollection

An UpdateInstallationInfoCollection collection that contains the installation state for each client in the target group.

Exceptions

Exception

Condition

ArgumentNullException

targetGroup cannot be null.

WsusObjectNotFoundException

The target group does not exist.

Remarks

To get summary information for each target group to which the update applies, call GetSummaryPerComputerTargetGroup.

See Also

GetUpdateInstallationInfoPerComputerTarget Overload
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace

Return to top