Class ActivityTruncateJob

Archive activities and truncate archive

Inheritance
System.Object
ActivityTruncateJob
Implements
Namespace: EPiServer.DataAbstraction.Activities.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ScheduledPlugIn]
[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()

Removes old activities from storage.

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

Implements

Extension Methods