IUpdateEvent

Use this interface to retrieve information about events that are associated with updates.

To retrieve this interface, call UpdateEventCollection.Item.

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

Public Methods

The IUpdateEvent interface has the following public methods.

Method Description
Equals(Object)

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

GetComputer()

Retrieves the client computer that is associated with this event.

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.

GetUpdate()

Retrieves the update that is associated with this event.

ToString()

Retrieves a String that represents the current Object.

Public Properties

The IUpdateEvent interface has the following public properties.

Property Description
CreationDate

Retrieves the date when the event was generated.

ErrorCode

Retrieves the error code that is returned by the client when the client event represents a failure.

HasAssociatedComputer

Retrieves a value that indicates if the event is associated with a client computer.

HasAssociatedUpdate

Retrieves a value that indicates if the event is associated with an update.

Id

Retrieves the unique identifier of the event.

IsError

Retrieves a value that indicates if the event represents an error.

Message

Retrieves the message text that is associated with the event.

Status

Retrieves the installation status of the update at the time this event was recorded.

WsusEventId

Retrieves the type of event.

WsusEventSource

Retrieves the source of the event.

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.