Share via


IUpdate.GetUpdateApprovals Method ()

 

Applies To: Windows Server Update Services

Gets a collection of all approvals for this update.

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

Syntax

UpdateApprovalCollection GetUpdateApprovals()
UpdateApprovalCollection^ GetUpdateApprovals()
abstract GetUpdateApprovals : unit -> UpdateApprovalCollection
Function GetUpdateApprovals As UpdateApprovalCollection

Return Value

Type: Microsoft.UpdateServices.Administration.UpdateApprovalCollection

An UpdateApprovalCollection collection that contains the list of all approvals for this update.

Exceptions

Exception

Condition

WsusObjectNotFoundException

The update was not found in the database.

Remarks

To limit the collection to approvals for a specific target group, call GetUpdateApprovals.To further limit the collection, call GetUpdateApprovals.

See Also

GetUpdateApprovals Overload
IUpdate Interface
Microsoft.UpdateServices.Administration Namespace

Return to top