Share via


IUpdateServer.GetComputerTargets()

Retrieves a collection of all client computers that are known to the WSUS server.

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

Parameters

This method has no parameters.

Return Value

Collection of all client computers that are known to the WSUS server.

Remarks

Clients register themselves with the WSUS server if IUpdateServerConfiguration.TargetingMode is Client. You can also call IUpdateServer.RegisterComputer to register a client computer.

To retrieve the client computers for a specific group, call IComputerTargetGroup.GetComputerTargets.

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.

See Also

ComputerTargetCollection
IUpdateServer.GetComputerTarget