CleanupScope Constructor (Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Applies To: Windows Server Update Services
Initializes a new instance of the CleanupScope class.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public CleanupScope(
bool supersededUpdates,
bool expiredUpdates,
bool obsoleteUpdates,
bool compressUpdates,
bool obsoleteComputers,
bool unneededContentFiles,
bool localPublishedContentFiles
)
public:
CleanupScope(
bool supersededUpdates,
bool expiredUpdates,
bool obsoleteUpdates,
bool compressUpdates,
bool obsoleteComputers,
bool unneededContentFiles,
bool localPublishedContentFiles
)
new :
supersededUpdates:bool *
expiredUpdates:bool *
obsoleteUpdates:bool *
compressUpdates:bool *
obsoleteComputers:bool *
unneededContentFiles:bool *
localPublishedContentFiles:bool -> CleanupScope
Public Sub New (
supersededUpdates As Boolean,
expiredUpdates As Boolean,
obsoleteUpdates As Boolean,
compressUpdates As Boolean,
obsoleteComputers As Boolean,
unneededContentFiles As Boolean,
localPublishedContentFiles As Boolean
)
Parameters
supersededUpdates
Type: System.BooleanWhether superseded updates should be declined.
expiredUpdates
Type: System.BooleanWhether expired updates should be declined.
obsoleteUpdates
Type: System.BooleanWhether obsolete updates should be deleted from the database.
compressUpdates
Type: System.BooleanWhether obsolete revisions to updates should be deleted from the database.
obsoleteComputers
Type: System.BooleanWhether obsolete computers should be deleted from the database.
unneededContentFiles
Type: System.BooleanWhether unneeded update files should be deleted.
localPublishedContentFiles
Type: System.BooleanWhether unneeded local published update files should be deleted.
See Also
CleanupScope Overload
CleanupScope Class
Microsoft.UpdateServices.Administration Namespace
Return to top