Share via


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)

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