Try our conversational search powered by Generative AI!

Class ActivityTruncateJob

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Archive activities and truncate archive

Inheritance
System.Object
ActivityTruncateJob
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.DataAbstraction.Activities.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ScheduledPlugIn(GUID = "B32597BC-1A69-4095-B215-8FC6C1E5722A", DisplayName = "Manage old activities", LanguagePath = "/admin/changelogautotruncatejob", HelpFile = "changelogautotruncate", DefaultEnabled = true, InitialTime = "1.2:0:0", IntervalLength = 1, IntervalType = ScheduledIntervalType.Weeks, Restartable = true)]
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class ActivityTruncateJob : ScheduledJobBase, IScheduledJob

Constructors

ActivityTruncateJob(IActivityTruncater, ActivityOptions)

Declaration
public ActivityTruncateJob(IActivityTruncater activityRepository, ActivityOptions activityOptions)
Parameters
Type Name Description
IActivityTruncater activityRepository
ActivityOptions activityOptions

Methods

Execute()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Removes old activities from storage.

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

Implements

Extension Methods