IUpdateServer.GetUpdateApprovals Method
Gets the UpdateApprovalCollection of update approvals that match the specified criteria.
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)
Dim instance As IUpdateServer Dim updatesToInclude As UpdateScope Dim returnValue As UpdateApprovalCollection returnValue = instance.GetUpdateApprovals(updatesToInclude)
UpdateApprovalCollection GetUpdateApprovals ( UpdateScope updatesToInclude )
function GetUpdateApprovals (
updatesToInclude : UpdateScope
) : UpdateApprovalCollection
Parameters
- updatesToInclude
The UpdateScope specifying the update criteria.
Return Value
A UpdateApprovalCollection.| Exception type | Condition |
|---|---|
| ArgumentNullException | updatesToInclude is null. |
| ArgumentOutOfRangeException | updatesToInclude.FromArrivalDate is greater than updatesToInclude.ToArrivalDate --or-- updatesToInclude.FromCreationDate is greater than updatesToInclude.ToCreationDate. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.