SPOneTimeSchedule Class

Represents a schedule that specifies the time range during which the job will run.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPSchedule
    Microsoft.SharePoint.SPOneTimeSchedule

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public NotInheritable Class SPOneTimeSchedule _
    Inherits SPSchedule
'Usage
Dim instance As SPOneTimeSchedule
public sealed class SPOneTimeSchedule : SPSchedule

Remarks

The one-time scheduled job is run during the next available time that meets the filter criteria. For example, if only the starting and ending seconds are set, the job runs during the next minute at a random point between the starting and ending seconds. If the starting second/ending second is set to 0/30 and the starting hour/ending hour is set to 22/23, the job starts between 11:00:00 P.M. and 11:00:30 P.M.

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

SPOneTimeSchedule Members

Microsoft.SharePoint Namespace