다음을 통해 공유


CleanupResults Constructor (Int32, Int32, Int32, Int32, Int32, Int64)

 

Applies To: Windows Server Update Services

Initializes a new instance of the CleanupResults class with the given sets of superseded, expired, obsolete updates and obsolete, compressed computers, plus the given amount of disk space freed by the cleanup.

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

Syntax

public CleanupResults(
    int supersededUpdatesDeclined,
    int expiredUpdatesDeclined,
    int obsoleteUpdatesDeleted,
    int obsoleteComputersDeleted,
    int updatesCompressed,
    long diskSpaceFreed
)
public:
CleanupResults(
    int supersededUpdatesDeclined,
    int expiredUpdatesDeclined,
    int obsoleteUpdatesDeleted,
    int obsoleteComputersDeleted,
    int updatesCompressed,
    long long diskSpaceFreed
)
new : 
        supersededUpdatesDeclined:int *
        expiredUpdatesDeclined:int *
        obsoleteUpdatesDeleted:int *
        obsoleteComputersDeleted:int *
        updatesCompressed:int *
        diskSpaceFreed:int64 -> CleanupResults
Public Sub New (
    supersededUpdatesDeclined As Integer,
    expiredUpdatesDeclined As Integer,
    obsoleteUpdatesDeleted As Integer,
    obsoleteComputersDeleted As Integer,
    updatesCompressed As Integer,
    diskSpaceFreed As Long
)

Parameters

  • supersededUpdatesDeclined
    Type: System.Int32

    Number of updates that were declined because they were superseded.

  • expiredUpdatesDeclined
    Type: System.Int32

    Number of updates that were declined because they were expired.

  • obsoleteUpdatesDeleted
    Type: System.Int32

    Number of updates that were deleted because they were considered obsolete.

  • obsoleteComputersDeleted
    Type: System.Int32

    Number of computers that were deleted because they were considered obsolete.

  • updatesCompressed
    Type: System.Int32

    Number of updates whose old revisions have been removed.

  • diskSpaceFreed
    Type: System.Int64

    Amount of disk space freed, in bytes, as a result of deleting unneeded content files.

See Also

CleanupResults Overload
CleanupResults Class
Microsoft.UpdateServices.Administration Namespace

Return to top