IUpdateEvent.GetUpdate Method ()

 

Applies To: Windows Server Update Services

Gets the update associated with this event.

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

Syntax

IUpdate GetUpdate()
IUpdate^ GetUpdate()
abstract GetUpdate : unit -> IUpdate
Function GetUpdate As IUpdate

Return Value

Type: Microsoft.UpdateServices.Administration.IUpdate

An IUpdate that represents the update that is associated with this event.

Exceptions

Exception

Condition

InvalidOperationException

The event is not associated with an update (HasAssociatedUpdate is false).

WsusObjectNotFoundException

The update that is associated with this event cannot be found on the WSUS server.

See Also

IUpdateEvent Interface
Microsoft.UpdateServices.Administration Namespace

Return to top