Class PageArchiveJob
Job used for scheduling emptying of wastebasket
Inheritance
System.Object
PageArchiveJob
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.Util
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[ScheduledPlugIn(DisplayName = "Archive pages", LanguagePath = "/admin/databasejob/archive", HelpFile = "archivejob")]
public class PageArchiveJob
Constructors
PageArchiveJob()
Initializes a new instance of the PageArchiveJob class.
Declaration
public PageArchiveJob()
Methods
Execute()
Start job
Declaration
public static string Execute()
Returns
Type | Description |
---|---|
System.String |
Execute(IContentRepository, IPageCriteriaQueryService, ContentTypeAvailabilityService)
Start job
Declaration
public static string Execute(IContentRepository contentRepository, IPageCriteriaQueryService queryService, ContentTypeAvailabilityService availableContentTypes)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | |
IPageCriteriaQueryService | queryService | |
ContentTypeAvailabilityService | availableContentTypes |
Returns
Type | Description |
---|---|
System.String |