Class ContentVersionCleanupPolicySettings
Model representing the global content version cleanup policy
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class ContentVersionCleanupPolicySettings
Properties
View SourceEnableCleanup
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 |
---|---|
System.Boolean |
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 |
---|---|
System.Int32 |
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 |
---|---|
System.Int32 |