IUpdateServer.GetUpdateApproval(Guid)

Retrieves the specified approval.

public IUpdateApproval GetUpdateApproval(Guidid);
Public Function GetUpdateApproval( _
  ByVal id As Guid _
) As IUpdateApproval
Implements IUpdateServer.GetUpdateApproval

Parameters

  • id
    Identifier of the approval to retrieve.

Return Value

An IUpdateApproval that you can use to determine who approved the update and the current state of the approval.

Exceptions

Exception type Condition
WsusObjectNotFoundException Unable to find an update approval 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.