Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a collection of all approvals for this update.
public UpdateApprovalCollection GetUpdateApprovals();
Public Function GetUpdateApprovals() As UpdateApprovalCollection
Implements IUpdate.GetUpdateApprovals
Parameters
This method has no parameters.
Return Value
An UpdateApprovalCollection collection that contains the list of all approvals for this update.
Exceptions
| Exception type | Condition |
|---|---|
| WsusObjectNotFoundException | The update was not found in the database. |
Remarks
To limit the collection to approvals for a specific target group, call IUpdate.GetUpdateApprovals(IComputerTargetGroup).
To further limit the collection, call IUpdate.GetUpdateApprovals(IComputerTargetGroup, UpdateApprovalAction, DateTime, DateTime).
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. |