IUpdateEvent.GetUpdate Method
Gets the update associated with this event.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)
Dim instance As IUpdateEvent Dim returnValue As IUpdate returnValue = instance.GetUpdate
| Exception type | 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. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.