WindowsUpdateAdministrator.GetUpdates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.