SPTimerService.SweepSchedule Property

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

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

Syntax

'Declaration
Public Property SweepSchedule As SPSchedule
    Get
    Set
'Usage
Dim instance As SPTimerService
Dim value As SPSchedule

value = instance.SweepSchedule

instance.SweepSchedule = value
public SPSchedule SweepSchedule { get; set; }

Property Value

Type: Microsoft.SharePoint.SPSchedule
Returns an Microsoft.SharePoint.SPSchedule instance representing the sweep schedule for the new timer service. The default is hourly.

See Also

Reference

SPTimerService Class

SPTimerService Members

Microsoft.SharePoint.Administration Namespace

InitialSweepSchedule

SPSchedule