다음을 통해 공유


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.Boolean

    Whether superseded updates should be declined.

  • expiredUpdates
    Type: System.Boolean

    Whether expired updates should be declined.

  • obsoleteUpdates
    Type: System.Boolean

    Whether obsolete updates should be deleted from the database.

  • compressUpdates
    Type: System.Boolean

    Whether obsolete revisions to updates should be deleted from the database.

  • obsoleteComputers
    Type: System.Boolean

    Whether obsolete computers should be deleted from the database.

  • unneededContentFiles
    Type: System.Boolean

    Whether unneeded update files should be deleted.

  • localPublishedContentFiles
    Type: System.Boolean

    Whether unneeded local published update files should be deleted.

See Also

CleanupScope Overload
CleanupScope Class
Microsoft.UpdateServices.Administration Namespace

Return to top