IUpdateClassification.GetUpdates Method (ApprovedStates)
Applies To: Windows Server Update Services
Gets a list of updates that belong to this classification.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
UpdateCollection GetUpdates(
ApprovedStates approvedStates
)
UpdateCollection^ GetUpdates(
ApprovedStates approvedStates
)
abstract GetUpdates :
approvedStates:ApprovedStates -> UpdateCollection
Function GetUpdates (
approvedStates As ApprovedStates
) As UpdateCollection
Parameters
approvedStates
Type: Microsoft.UpdateServices.Administration.ApprovedStatesLimits 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
Type: Microsoft.UpdateServices.Administration.UpdateCollection
An UpdateCollection of updates that belong to this classification.
See Also
GetUpdates Overload
IUpdateClassification Interface
Microsoft.UpdateServices.Administration Namespace
Return to top