Share via


SPFarm.TimerService property

Gets the timer service that is associated with the server farm.

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

Syntax

'Declaration
Public ReadOnly Property TimerService As SPTimerService
    Get
'Usage
Dim instance As SPFarm
Dim value As SPTimerService

value = instance.TimerService
public SPTimerService TimerService { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPTimerService
An SPTimerService object that represents the timer service that is associated with the server farm.

Remarks

There can be only one timer service for a server farm. An instance of this timer service runs on each server in the farm.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace