Search Results for

    Show / Hide Table of Contents
    View Source

    Class HistoryCleanup

    Represents the history cleanup settings for content versions.

    Inheritance
    object
    BeingDirtyBase
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "historyCleanup", Namespace = "")]
    public class HistoryCleanup : BeingDirtyBase, IRememberBeingDirty, ICanBeDirty

    Constructors

    View Source

    HistoryCleanup()

    Declaration
    public HistoryCleanup()

    Properties

    View Source

    KeepAllVersionsNewerThanDays

    Gets or sets the number of days to keep all versions of this content.

    Declaration
    [DataMember(Name = "keepAllVersionsNewerThanDays")]
    public int? KeepAllVersionsNewerThanDays { get; set; }
    Property Value
    Type Description
    int?
    View Source

    KeepLatestVersionPerDayForDays

    Gets or sets the number of days to keep the latest version per day for this content.

    Declaration
    [DataMember(Name = "keepLatestVersionPerDayForDays")]
    public int? KeepLatestVersionPerDayForDays { get; set; }
    Property Value
    Type Description
    int?
    View Source

    PreventCleanup

    Gets or sets a value indicating whether to prevent automatic history cleanup for this content.

    Declaration
    [DataMember(Name = "preventCleanup")]
    public bool PreventCleanup { get; set; }
    Property Value
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX