Expand Minimize
This topic has not yet been rated - Rate this topic

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)
Dim instance As IUpdateServer
Dim updatesToInclude As UpdateScope
Dim returnValue As UpdateApprovalCollection

returnValue = instance.GetUpdateApprovals(updatesToInclude)
UpdateApprovalCollection GetUpdateApprovals (
	UpdateScope updatesToInclude
)
UpdateApprovalCollection GetUpdateApprovals (
	UpdateScope updatesToInclude
)
function GetUpdateApprovals (
	updatesToInclude : UpdateScope
) : UpdateApprovalCollection

Parameters

updatesToInclude

The UpdateScope specifying the update criteria.

Return Value

A UpdateApprovalCollection.
Exception typeCondition
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.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.