Microsoft.SharePoint


SPSchedule Class (Microsoft.SharePoint)
Abstract base class that supports the different schedule types that are used in job definitions.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public MustInherit Class SPSchedule
Visual Basic (Usage)
Dim instance As SPSchedule
C#
[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.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPSchedule
     Microsoft.SharePoint.SPDailySchedule
     Microsoft.SharePoint.SPHourlySchedule
     Microsoft.SharePoint.SPMinuteSchedule
     Microsoft.SharePoint.SPOneTimeSchedule
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

Tags :


Page view tracker