SPTimerService.InitialSweepSchedule Property

NOTE: This API is now obsolete.

Gets or sets an Microsoft.SharePoint.SPSchedule instance that specifies the sweep schedule for new timer service when first instantiated.

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

Syntax

'Declaration
<ObsoleteAttribute("The InitialSweepSchedule setting is no longer used.",  _
    False)> _
Public Property InitialSweepSchedule As SPSchedule
    Get
    Set
'Usage
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
Returns an Microsoft.SharePoint.SPSchedule instance representing the initial sweep schedule for the new timer service. The default value is every five minutes between zero and 59 minutes.

Remarks

Use the SPTimerService.SweepSchedule property to change the sweep schedule.

See Also

Reference

SPTimerService Class

SPTimerService Members

Microsoft.SharePoint.Administration Namespace

SweepSchedule

SPSchedule