Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentVersionCleanupPolicySettings

    Model representing the global content version cleanup policy

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentVersionCleanupPolicySettings

    Constructors

    View Source

    ContentVersionCleanupPolicySettings()

    Declaration
    public ContentVersionCleanupPolicySettings()

    Properties

    View Source

    EnableCleanup

    Gets or sets a value indicating whether or not the cleanup job should be executed.

    Declaration
    public bool EnableCleanup { get; set; }
    Property Value
    Type Description
    bool
    View Source

    KeepAllVersionsNewerThanDays

    Gets or sets the number of days where all historical content versions are kept.

    Declaration
    public int KeepAllVersionsNewerThanDays { get; set; }
    Property Value
    Type Description
    int
    View Source

    KeepLatestVersionPerDayForDays

    Gets or sets the number of days where the latest historical content version for that day are kept.

    Declaration
    public int KeepLatestVersionPerDayForDays { get; set; }
    Property Value
    Type Description
    int
    View Source

    MaxVersionsToDeletePerRun

    Gets or sets the maximum number of content versions to process per cleanup run. When more versions are eligible, they will be processed in subsequent runs. A value of 0 means no limit (process all eligible versions).

    Declaration
    public int MaxVersionsToDeletePerRun { get; set; }
    Property Value
    Type Description
    int
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX