Compartir a través de


CleanupScope Class

 

Applies To: Windows Server Update Services

Represents the set of cleanup options selected by the user.

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

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.CleanupScope

Syntax

[SerializableAttribute]
[GuidAttribute("C036734E-08C0-4067-86AF-C01A5F50E37E")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public class CleanupScope
[SerializableAttribute]
[GuidAttribute("C036734E-08C0-4067-86AF-C01A5F50E37E")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
public ref class CleanupScope 
[<SerializableAttribute>]
[<GuidAttribute("C036734E-08C0-4067-86AF-C01A5F50E37E")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<ComVisibleAttribute(true)>]
type CleanupScope = class end
<SerializableAttribute>
<GuidAttribute("C036734E-08C0-4067-86AF-C01A5F50E37E")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public Class CleanupScope

Constructors

Name Description
System_CAPS_pubmethod CleanupScope()

Initializes a new instance of the CleanupScope class.

System_CAPS_pubmethod CleanupScope(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Initializes a new instance of the CleanupScope class with the given set of superseded, expired, obsolete, and compressed updates, obsolete computers, and unneeded content files to be removed.

System_CAPS_pubmethod CleanupScope(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Initializes a new instance of the CleanupScope class.

Properties

Name Description
System_CAPS_pubproperty CleanupLocalPublishedContentFiles

Gets or sets whether unneeded local published update files should be deleted.

System_CAPS_pubproperty CleanupObsoleteComputers

Gets or sets whether or not obsolete computers should be deleted from the database.

System_CAPS_pubproperty CleanupObsoleteUpdates

Gets or sets whether or not obsolete updates should be deleted from the database.

System_CAPS_pubproperty CleanupUnneededContentFiles

Gets or sets whether or not unneeded update files should be deleted.

System_CAPS_pubproperty CompressUpdates

Gets or sets whether or not obsolete revisions to updates should be deleted from the database.

System_CAPS_pubproperty DeclineExpiredUpdates

Gets or sets whether or not expired updates should be declined.

System_CAPS_pubproperty DeclineSupersededUpdates

Gets or sets whether or not superseded updates should be declined.

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