This topic has not yet been rated - Rate this topic

IUpdateEvent.GetUpdate Method

Gets the update associated with this event.


Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)
Dim instance As IUpdateEvent
Dim returnValue As IUpdate

returnValue = instance.GetUpdate
IUpdate GetUpdate ()
IUpdate GetUpdate ()
function GetUpdate () : IUpdate

Return Value

An IUpdate that represents the update that is associated with this event.
Exception typeCondition
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.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.