IUpdateServer.GetUpdate Method (UpdateRevisionId)

 

Applies To: Windows Server Update Services

Gets the specified update.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

IUpdate GetUpdate(
    UpdateRevisionId id
)
IUpdate^ GetUpdate(
    UpdateRevisionId^ id
)
abstract GetUpdate : 
        id:UpdateRevisionId -> IUpdate
Function GetUpdate (
    id As UpdateRevisionId
) As IUpdate

Parameters

Return Value

Type: Microsoft.UpdateServices.Administration.IUpdate

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

Exceptions

Exception

Condition

WsusInvalidDataException

Unable to get the given update.

WsusObjectNotFoundException

Unable to find an update with the given identifier.

See Also

IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top