Share via


IUpdateServer.GetUpdate(UpdateRevisionId)

Retrieves the specified update.

public IUpdate GetUpdate(UpdateRevisionIdid);
Public Function GetUpdate( _
  ByVal id As UpdateRevisionId _
) As IUpdate
Implements IUpdateServer.GetUpdate

Parameters

Return Value

An IUpdate that you use to approve the update and retrieve information about the update.

Exceptions

Exception type Condition
WsusInvalidDataException Unable to retrieve the given update.
WsusObjectNotFoundException Unable to find an update with the given identifier.

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.