ApprovedStates Enumeration
Indicates whether or not an update is approved or declined. These flags can be used to retrieve updates in the specified state.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
[SerializableAttribute] [ComVisibleAttribute(true)] [FlagsAttribute] public enum ApprovedStates
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ /** @attribute FlagsAttribute() */ public enum ApprovedStates
SerializableAttribute ComVisibleAttribute(true) FlagsAttribute public enum ApprovedStates
| Member name | Description |
|---|---|
| Any | Includes all updates, regardless of whether they are approved, declined, or not approved. |
| Declined | Includes updates that have been declined. |
| HasStaleUpdateApprovals | Includes updates that have an approval on a revision that is not the latest revision. |
| LatestRevisionApproved | Includes updates whose latest revision is approved. |
| NotApproved | Includes updates that have not been approved or declined. |
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Server 2008 R2