IUpdateCategory.GetUpdates(ApprovedStates)

Retrieves a list of updates that belong to this category and its descendent categories.

public UpdateCollection GetUpdates(ApprovedStatesapprovedStates);
Public Function GetUpdates( _
  ByVal approvedStates As ApprovedStates _
) As UpdateCollection
Implements IUpdateCategory.GetUpdates

Parameters

  • approvedStates
    Limits the collection to updates with the specified approved state, for example, updates that are approved or updates that are declined. For a list of possible values, see ApprovedStates.

Return Value

An UpdateCollection collection of that contains updates that belong to this category and its descendent categories.

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.