Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the update that is associated with this event.
public IUpdate GetUpdate();
Public Function GetUpdate() As IUpdate
Implements IUpdateEvent.GetUpdate
Parameters
This method has no parameters.
Return Value
An IUpdate that represents the update that is associated with this event.
Exceptions
| Exception type | Condition |
|---|---|
| System.InvalidOperationException | The event is not associated with an update (IUpdateEvent.HasAssociatedUpdate is false). |
| WsusObjectNotFoundException | The update that is associated with this event cannot be found on the WSUS server. |
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. |