Share via


IUpdateServer.GetComputerStatus Method (ComputerTargetScope, UpdateSources)

 

Applies To: Windows Server Update Services

Gets high-level status information summarizing the state of the computers that are clients of this server.

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

Syntax

UpdateServerStatus GetComputerStatus(
    ComputerTargetScope computersToInclude,
    UpdateSources updateSources
)
UpdateServerStatus^ GetComputerStatus(
    ComputerTargetScope^ computersToInclude,
    UpdateSources updateSources
)
abstract GetComputerStatus : 
        computersToInclude:ComputerTargetScope *
        updateSources:UpdateSources -> UpdateServerStatus
Function GetComputerStatus (
    computersToInclude As ComputerTargetScope,
    updateSources As UpdateSources
) As UpdateServerStatus

Parameters

Return Value

Type: Microsoft.UpdateServices.Administration.UpdateServerStatus

An UpdateServerStatus object summarizing the state of the computers that are clients of this server.

Remarks

This method updates only the ComputerTargetCount, ComputerTargetsNeedingUpdatesCount, ComputerTargetsWithUpdateErrorsCount, and ComputersUpToDateCount properties. All other properties will be 0 or empty.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top