Interface IActivityTruncater
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Namespace: EPiServer.DataAbstraction.Activities.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface IActivityTruncater
Methods
TruncateArchiveAsync()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Truncates the activity archive for all activities older that a given date.
Declaration
Task<int> TruncateArchiveAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | An integer indicating how many activities that was removed from the activity archive. |
Remarks
This method does not guarantee that all potential items have been truncated after completion. Run multiple times and check the return value for an indication if the log has been truncated to the full extent.
TruncateAsync()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Deletes or archives old activities from the activity log taking values returned from any ITruncateRestriction implementations into consideration.
Declaration
Task<int> TruncateAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> | An integer indicating how many activities that was removed from the activity log. |
Remarks
This method does not guarantee that all potential items have been truncated after completion. Run multiple times and check the return value for an indication if the log has been truncated to the full extent.