共用方式為


SPTimerService.InitialSweepSchedule property

NOTE: This API is now obsolete.

取得或設定指定新計時器服務先具現化時的延伸排程Microsoft.SharePoint.SPSchedule執行個體。

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

Syntax

'宣告
<ObsoleteAttribute("The InitialSweepSchedule setting is no longer used.",  _
    False)> _
Public Property InitialSweepSchedule As SPSchedule
    Get
    Set
'用途
Dim instance As SPTimerService
Dim value As SPSchedule

value = instance.InitialSweepSchedule

instance.InitialSweepSchedule = value
[ObsoleteAttribute("The InitialSweepSchedule setting is no longer used.", 
    false)]
public SPSchedule InitialSweepSchedule { get; set; }

Property value

Type: Microsoft.SharePoint.SPSchedule
會傳回代表新計時器服務的初始延伸排程Microsoft.SharePoint.SPSchedule執行個體。預設值是介於 0 到 59 分鐘每五分鐘。

備註

若要變更的延伸排程使用SPTimerService.SweepSchedule屬性。

請參閱

參照

SPTimerService class

SPTimerService members

Microsoft.SharePoint.Administration namespace

SweepSchedule

SPSchedule