Class EmptyWastebasketJob
Job used for scheduling emptying of wastebasket
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 = "Empty wastebasket", LanguagePath = "/admin/databasejob/wastebasket", HelpFile = "emptywastebasketjob", DefaultEnabled = true, InitialTime = "1.0:30:0", IntervalLength = 1, IntervalType = ScheduledIntervalType.Weeks)]
public class EmptyWastebasketJob : JobBase
Constructors
EmptyWastebasketJob()
Initializes a new instance of the EmptyWastebasketJob class.
Declaration
public EmptyWastebasketJob()
EmptyWastebasketJob(IContentRepository, IContentProviderManager)
Declaration
public EmptyWastebasketJob(IContentRepository contentRepository, IContentProviderManager providerManager)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | |
IContentProviderManager | providerManager |
Methods
Execute()
Start job
Declaration
public override string Execute()
Returns
Type | Description |
---|---|
System.String |
Overrides
Remarks
Uses the default IContentRepository and IContentProviderManager
Stop()
Declaration
public override void Stop()