IUpdate.HasStaleUpdateApprovals

Retrieves a value that indicates if an older revision of the update contains an approval.

public bool HasStaleUpdateApprovals {get;}
Public ReadOnly Property HasStaleUpdateApprovals As bool

Property Value

True if an older revision of the update contains an approval; otherwise, false.

Remarks

To find the older revision that contains the approval, call IUpdate.GetRelatedUpdates (set relationship to UpdateRelationship.AllRevisionsOfThisUpdate). Iterate through the collection of older revisions until you find the update whose IsApproved property is true.

To move the approvals forward to the latest revision, call IUpdate.RefreshUpdateApprovals. To automatically move approvals forward, set IUpdateServerConfiguration.AutoRefreshUpdateApprovals.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.

See Also

IsApproved
IsDeclined