Partager via


IUpdateEvent Interface

 

Applies To: Windows Server Update Services

Use this interface to get information about events associated with updates. To get this interface, call Item.

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

Syntax

public interface IUpdateEvent
public interface class IUpdateEvent
type IUpdateEvent = interface end
Public Interface IUpdateEvent

Properties

Name Description
System_CAPS_pubproperty ComputerId

Gets the GUID of the computer associated with this event.

System_CAPS_pubproperty CreationDate

Gets the date and time when the event was generated.

System_CAPS_pubproperty ErrorCode

Gets the error code returned by the client when the client event represents a failure.

System_CAPS_pubproperty HasAssociatedComputer

Gets whether this event is associated with a client computer.

System_CAPS_pubproperty HasAssociatedUpdate

Gets whether the event is associated with an update.

System_CAPS_pubproperty Id

Gets the GUID of the event.

System_CAPS_pubproperty IsError

Gets whether the event represents an error.

System_CAPS_pubproperty Message

Gets the message text associated with the event.

System_CAPS_pubproperty Status

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

System_CAPS_pubproperty UpdateId

Gets the update revision GUID associated with this event.

System_CAPS_pubproperty WsusEventId

Gets the type of event.

System_CAPS_pubproperty WsusEventSource

Gets the source of the event.

Methods

Name Description
System_CAPS_pubmethod GetComputer()

Gets the client computer associated with this event.

System_CAPS_pubmethod GetHashCode()

Get as a hash code for the current update event, suitable for use in hashing algorithms and data structures, such as a hash table.

System_CAPS_pubmethod GetUpdate()

Gets the update associated with this event.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top