November Happy Hour will be moved to Thursday December 5th.

Class TrimContentVersionsJob

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
TrimContentVersionsJob
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Util.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ScheduledPlugIn(GUID = "656E747E-B2CB-4930-83DC-5D8D97AEAABB", DisplayName = "Trim content versions", LanguagePath = "/admin/databasejob/trimcontentversionjob", HelpFile = "trimcontentversionjob", DefaultEnabled = true, InitialTime = "2:00:0", IntervalLength = 1, IntervalType = ScheduledIntervalType.Days, Restartable = true)]
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class TrimContentVersionsJob : ScheduledJobBase, IScheduledJob

Constructors

TrimContentVersionsJob(ProviderAwareContentVersionRepository, IContentProviderManager)

Declaration
public TrimContentVersionsJob(ProviderAwareContentVersionRepository contentVersionRepository, IContentProviderManager contentProviderManager)
Parameters
Type Name Description
ProviderAwareContentVersionRepository contentVersionRepository
IContentProviderManager contentProviderManager

Properties

MaxNumberOfFailuresForProvider

Declaration
public int MaxNumberOfFailuresForProvider { get; set; }
Property Value
Type Description
System.Int32

VersionBatchSize

Declaration
public int VersionBatchSize { get; set; }
Property Value
Type Description
System.Int32

Methods

Execute()

Declaration
public override string Execute()
Returns
Type Description
System.String
Overrides

OnStatusChanged(String)

Declaration
protected override void OnStatusChanged(string statusMessage)
Parameters
Type Name Description
System.String statusMessage
Overrides

Stop()

Declaration
public override void Stop()
Overrides

Implements

Extension Methods