Share via


IComputerTargetGroup.GetComputerTargets Method ()

 

Applies To: Windows Server Update Services

Gets a list of client computers that are assigned to the group.

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

Syntax

ComputerTargetCollection GetComputerTargets()
ComputerTargetCollection^ GetComputerTargets()
abstract GetComputerTargets : unit -> ComputerTargetCollection
Function GetComputerTargets As ComputerTargetCollection

Return Value

Type: Microsoft.UpdateServices.Administration.ComputerTargetCollection

A ComputerTargetCollection collection that contains the client computers that are assigned to the group.

Exceptions

Exception

Condition

WsusObjectNotFoundException

The target group has been deleted.

See Also

GetComputerTargets Overload
IComputerTargetGroup Interface
Microsoft.UpdateServices.Administration Namespace

Return to top