London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 10.10.4
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)]
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