Share via


WindowsUpdateAdministrator.GetUpdates Method

Definition

Retrieves a list of all updates that are currently pending actions, and are known to the update administrator.

public:
 virtual IVectorView<WindowsUpdate ^> ^ GetUpdates() = GetUpdates;
IVectorView<WindowsUpdate> GetUpdates();
public IReadOnlyList<WindowsUpdate> GetUpdates();
function getUpdates()
Public Function GetUpdates () As IReadOnlyList(Of WindowsUpdate)

Returns

A list of all updates that are currently pending actions, and are known to the update administrator.

Remarks

The returned list is a superset of the updates that can be retrieved with WindowsUpdateManager.GetApplicableUpdates, as it will include updates that have not yet been approved via ApproveWindowsUpdate.

Applies to