IUpdateServer.GetUpdate(UpdateRevisionId)
Retrieves the specified update.
public IUpdate GetUpdate(UpdateRevisionIdid);
Public Function GetUpdate( _
ByVal id As UpdateRevisionId _
) As IUpdate
Implements IUpdateServer.GetUpdate
Parameters
- id
Identifier of the update to retrieve. To return the latest revision of the specified update, set UpdateRevisionId.RevisionNumber to 0.
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. |