共用方式為


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)
Available in Sandboxed Solutions: No

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