ICleanupManager.PerformCleanup Method (CleanupScope)
Applies To: Windows Server Update Services
Performs the cleanup process.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
CleanupResults PerformCleanup(
CleanupScope cleanupScope
)
CleanupResults^ PerformCleanup(
CleanupScope^ cleanupScope
)
abstract PerformCleanup :
cleanupScope:CleanupScope -> CleanupResults
Function PerformCleanup (
cleanupScope As CleanupScope
) As CleanupResults
Parameters
cleanupScope
Type: Microsoft.UpdateServices.Administration.CleanupScopeA CleanupScope representing the items to be removed.
Return Value
Type: Microsoft.UpdateServices.Administration.CleanupResults
The CleanupResults returned by the cleanup operation.
Remarks
This operation requires WSUS Administrator privileges.
See Also
ICleanupManager Interface
Microsoft.UpdateServices.Administration Namespace
Return to top