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
id
Type: Microsoft.UpdateServices.Administration.UpdateRevisionIdIdentifier of the update to get. To return the latest revision of the specified update, set RevisionNumber to 0.
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
Unable to get the given update.
Unable to find an update with the given identifier.
See Also
IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace
Return to top