Share via


IComputerTargetGroup.GetComputerTargets()

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

public ComputerTargetCollection GetComputerTargets();
Public Function GetComputerTargets() As ComputerTargetCollection
Implements IComputerTargetGroup.GetComputerTargets

Parameters

This method has no parameters.

Return Value

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

Exceptions

Exception type Condition
WsusObjectNotFoundException The target group has been deleted.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.