Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

UpdateApprovalCollection GetUpdateApprovals (
	UpdateScope updatesToInclude
UpdateApprovalCollection GetUpdateApprovals (
	UpdateScope updatesToInclude
function GetUpdateApprovals (
	updatesToInclude : UpdateScope
) : UpdateApprovalCollection



The UpdateScope specifying the update criteria.

Return Value

A UpdateApprovalCollection.

Exception typeCondition

updatesToInclude is null.


updatesToInclude.FromArrivalDate is greater than updatesToInclude.ToArrivalDate


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
© 2015 Microsoft