IUpdateServer.DeleteUpdate Method (Guid)
Applies To: Windows Server Update Services
Delete an update specified by the UpdateID.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
void DeleteUpdate(
Guid updateId
)
void DeleteUpdate(
Guid updateId
)
abstract DeleteUpdate :
updateId:Guid -> unit
Sub DeleteUpdate (
updateId As Guid
)
Parameters
updateId
Type: System.GuidThe updateID in Guid format.
Exceptions
Exception
Condition
Cannot find the update by the specified updateID.
Cannot delete the update specified by the specified updateID. The common cause of this exception is that this update is still referenced by at least another update in the database.
Remarks
This operation requires WSUS Administrator privileges.
See Also
IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace
Return to top