IUpdateClassification.GetUpdates Method (ApprovedStates, UpdateTypes) 

[WSUS 3.0 API - This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the list of updates of the specified approved states and update types in this classification.

Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)

Syntax

'Declaration
Function GetUpdates ( _
    approvedStates As ApprovedStates, _
    updateTypes As UpdateTypes _
) As UpdateCollection
'Usage
Dim instance As IUpdateClassification
Dim approvedStates As ApprovedStates
Dim updateTypes As UpdateTypes
Dim returnValue As UpdateCollection

returnValue = instance.GetUpdates(approvedStates, updateTypes)
UpdateCollection GetUpdates (
    ApprovedStates approvedStates,
    UpdateTypes updateTypes
)
UpdateCollection^ GetUpdates (
    ApprovedStates approvedStates, 
    UpdateTypes updateTypes
)
UpdateCollection GetUpdates (
    ApprovedStates approvedStates, 
    UpdateTypes updateTypes
)
function GetUpdates (
    approvedStates : ApprovedStates, 
    updateTypes : UpdateTypes
) : UpdateCollection

Parameters

  • approvedStates
    Retrieve only updates with the specified approved states.
  • updateTypes
    The types of updates to get. Can be any combination of values from UpdateTypes.

Return Value

Collection of all updates with the specified approved states and update types in this classification.

Remarks

This operation requires WSUS Reporter privileges.

Platforms

Windows Server 2003

See Also

Reference

IUpdateClassification Interface
IUpdateClassification Members
Microsoft.UpdateServices.Administration Namespace

Footer image

Send comments about this topic to Microsoft.