Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeCleanupBase

    Serves as the base class for view models related to content type cleanup operations in the management API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.ViewModels.ContentType
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public abstract class ContentTypeCleanupBase

    Constructors

    View Source

    ContentTypeCleanupBase()

    Declaration
    protected ContentTypeCleanupBase()

    Properties

    View Source

    KeepAllVersionsNewerThanDays

    Gets or sets the number of days; all content versions newer than this value will be retained.

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

    KeepLatestVersionPerDayForDays

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

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

    PreventCleanup

    Gets a value indicating whether cleanup should be prevented.

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