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 | |
---|---|---|
CleanupScope() | Initializes a new instance of the CleanupScope class. |
|
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. |
|
CleanupScope(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) | Initializes a new instance of the CleanupScope class. |
Properties
Name | Description | |
---|---|---|
CleanupLocalPublishedContentFiles | Gets or sets whether unneeded local published update files should be deleted. |
|
CleanupObsoleteComputers | Gets or sets whether or not obsolete computers should be deleted from the database. |
|
CleanupObsoleteUpdates | Gets or sets whether or not obsolete updates should be deleted from the database. |
|
CleanupUnneededContentFiles | Gets or sets whether or not unneeded update files should be deleted. |
|
CompressUpdates | Gets or sets whether or not obsolete revisions to updates should be deleted from the database. |
|
DeclineExpiredUpdates | Gets or sets whether or not expired updates should be declined. |
|
DeclineSupersededUpdates | Gets or sets whether or not superseded updates should be declined. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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