Partager via


CleanupResults Class

 

Applies To: Windows Server Update Services

Represents the set of cleanup results of various cleanup options.

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

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.CleanupResults

Syntax

[SerializableAttribute]
[GuidAttribute("82B3581C-98CA-4289-9C7F-3BDE4EC4E994")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public class CleanupResults
[SerializableAttribute]
[GuidAttribute("82B3581C-98CA-4289-9C7F-3BDE4EC4E994")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
public ref class CleanupResults 
[<SerializableAttribute>]
[<GuidAttribute("82B3581C-98CA-4289-9C7F-3BDE4EC4E994")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<ComVisibleAttribute(true)>]
type CleanupResults = class end
<SerializableAttribute>
<GuidAttribute("82B3581C-98CA-4289-9C7F-3BDE4EC4E994")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public Class CleanupResults

Constructors

Name Description
System_CAPS_pubmethod CleanupResults()

Initializes a new instance of the CleanupResults class.

System_CAPS_pubmethod CleanupResults(Int32, Int32, Int32, Int32, Int32, Int64)

Initializes a new instance of the CleanupResults class with the given sets of superseded, expired, obsolete updates and obsolete, compressed computers, plus the given amount of disk space freed by the cleanup.

Properties

Name Description
System_CAPS_pubproperty DiskSpaceFreed

Gets or sets the amount of space freed, in bytes, after unneeded content files were deleted.

System_CAPS_pubproperty ExpiredUpdatesDeclined

Gets or sets the number of updates that were declined because they were expired.

System_CAPS_pubproperty ObsoleteComputersDeleted

Gets or sets the number of computers that were deleted because they were considered obsolete.

System_CAPS_pubproperty ObsoleteUpdatesDeleted

Gets or sets the number of updates that were deleted because they were considered obsolete.

System_CAPS_pubproperty SupersededUpdatesDeclined

Gets or sets the number of updates that were declined because they were superseded.

System_CAPS_pubproperty UpdatesCompressed

Gets or sets the number of updates whose old revisions have been removed.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top