SPSchedule Class

Abstract base class that supports the different schedule types that are used in job definitions.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPSchedule
    Microsoft.SharePoint.SPDailySchedule
    Microsoft.SharePoint.SPHourlySchedule
    Microsoft.SharePoint.SPMinuteSchedule
    Microsoft.SharePoint.SPOneTimeSchedule

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPSchedule

Dim instance As SPSchedule
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPSchedule

Remarks

Use the Schedule property of the SPJobDefinition class to get the schedule for a job definition.

Windows SharePoint Services job definitions can use the following schedule types:

Windows SharePoint Services does not support extending the SPSchedule class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPSchedule Members

Microsoft.SharePoint Namespace