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
computersToInclude
Type: Microsoft.UpdateServices.Administration.ComputerTargetScopeSearch criteria defining the set of computers to return status for.
Return Value
Type: Microsoft.UpdateServices.Administration.UpdateInstallationInfoCollection
A collection of UpdateInstallationInfoCollection objects, one per Computer.
Exceptions
Exception
Condition
computersToInclude is null.
computersToInclude.FromLastSyncTime is greater than computersToInclude.ToLastSyncTime
--or--
computersToInclude.FromLastReportedStatusTime is greater than computersToInclude.ToLastReportedStatusTime
The update could not be found in the database.
See Also
GetUpdateInstallationInfoPerComputerTarget Overload
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace
Return to top