共用方式為


SPOneTimeSchedule class

代表指定工作將執行的期間之時間範圍的排程。

Inheritance hierarchy

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

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

Syntax

'宣告
Public NotInheritable Class SPOneTimeSchedule _
    Inherits SPSchedule
'用途
Dim instance As SPOneTimeSchedule
public sealed class SPOneTimeSchedule : SPSchedule

備註

符合篩選條件的下一個可用時間內執行一次排定的工作。例如,如果只設定開始和結束的秒數,工作會執行在下一分鐘期間開始和結束秒之間的隨機點。如果啟動第二個/結束第二個設定為 [0/30 和開始的小時/結束小時設為 22/23,下午 11:00:00 和 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.

請參閱

參照

SPOneTimeSchedule members

Microsoft.SharePoint namespace