Share via


IComputerTarget

Use this interface to retrieve information about the client computer, remove the client from WSUS, determine the group to which it belongs, and retrieve information related to updates approved for the client.

To retrieve this interface, call one of the following methods:

The IComputerTarget interface is derived from the System.Object class.

Public Methods

The IComputerTarget interface has the following public methods.

Method Description
Delete()

Removes the client computer from the list of clients known to WSUS.

Equals(Object)

Determines if the specified Object is equal to the current Object.

GetComputerTargetGroup()

Retrieves the target group to which the client belongs.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

GetType()

Retrieves the Type of the current instance.

GetUpdateInstallationInfoPerUpdate()

Retrieves the installation state for all approved updates.

PurgeAssociatedReportingEvents(DateTime, DateTime)

Removes the events that are associated with the client.

ToString()

Retrieves a String that represents the current Object.

Public Properties

The IComputerTarget interface has the following public properties.

Property Description
BiosInfo

Retrieves the BIOS information of the client.

FullDomainName

Retrieves the full domain name of the client.

Id

Retrieves the unique identifier of the client computer.

IPAddress

Retrieves the IP address of the client computer.

LastReportedStatusTime

Retrieves the last time the client sent its status to the WSUS server.

LastSyncTime

Retrieves the last time the client synchronized itself with the WSUS server.

Make

Retrieves the make of the client computer.

Model

Retrieves the model of the client computer.

OSInfo

Retrieves the operating system information of the client computer.

ProcessorArchitecture

Retrieves the processor architecture of the client computer.

RequestedTargetGroupName

Retrieves the name of the target group to which the client wants to belong.

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.