IUpdate.GetUpdateInstallationInfoPerComputerTarget Method (ComputerTargetScope)

 

Applies To: Windows Server Update Services

Gets the installation information about this update for each computer that matches the specified search filter.

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

Syntax

UpdateInstallationInfoCollection GetUpdateInstallationInfoPerComputerTarget(
    ComputerTargetScope computersToInclude
)
UpdateInstallationInfoCollection^ GetUpdateInstallationInfoPerComputerTarget(
    ComputerTargetScope^ computersToInclude
)
abstract GetUpdateInstallationInfoPerComputerTarget : 
        computersToInclude:ComputerTargetScope -> UpdateInstallationInfoCollection
Function GetUpdateInstallationInfoPerComputerTarget (
    computersToInclude As ComputerTargetScope
) As UpdateInstallationInfoCollection

Parameters

Return Value

Type: Microsoft.UpdateServices.Administration.UpdateInstallationInfoCollection

A collection of UpdateInstallationInfoCollection objects, one per Computer.

Exceptions

Exception

Condition

ArgumentNullException

computersToInclude is null.

ArgumentOutOfRangeException

computersToInclude.FromLastSyncTime is greater than computersToInclude.ToLastSyncTime 

--or--

computersToInclude.FromLastReportedStatusTime is greater than computersToInclude.ToLastReportedStatusTime

WsusObjectNotFoundException

The update could not be found in the database.

See Also

GetUpdateInstallationInfoPerComputerTarget Overload
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace

Return to top