Class ActivityTruncateJob
Archive activities and truncate archive
Implements
Inherited Members
Namespace: EPiServer.DataAbstraction.Activities.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[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 |