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)

System.Object
  Microsoft.UpdateServices.Administration.CleanupScope

[SerializableAttribute]
[GuidAttribute("C036734E-08C0-4067-86AF-C01A5F50E37E")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public class CleanupScope

NameDescription
System_CAPS_pubmethodCleanupScope()

Initializes a new instance of the CleanupScope class.

System_CAPS_pubmethodCleanupScope(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_pubmethodCleanupScope(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Initializes a new instance of the CleanupScope class.

NameDescription
System_CAPS_pubpropertyCleanupLocalPublishedContentFiles

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

System_CAPS_pubpropertyCleanupObsoleteComputers

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

System_CAPS_pubpropertyCleanupObsoleteUpdates

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

System_CAPS_pubpropertyCleanupUnneededContentFiles

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

System_CAPS_pubpropertyCompressUpdates

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

System_CAPS_pubpropertyDeclineExpiredUpdates

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

System_CAPS_pubpropertyDeclineSupersededUpdates

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top

Community Additions

ADD
Show: