Partager via


IUpdate.HasStaleUpdateApprovals Property

 

Applies To: Windows Server Update Services

Gets whether an older revision of the update contains an approval.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

bool HasStaleUpdateApprovals { get; }
property bool HasStaleUpdateApprovals {
    bool get();
}
abstract HasStaleUpdateApprovals : bool with get
ReadOnly Property HasStaleUpdateApprovals As Boolean

Property Value

Type: System.Boolean

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

Remarks

To find the older revision that contains the approval, call GetRelatedUpdates (set relationship to 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 RefreshUpdateApprovals. To automatically move approvals forward, set AutoRefreshUpdateApprovals.

See Also

IUpdate Interface
Microsoft.UpdateServices.Administration Namespace

Return to top