다음을 통해 공유


SPGlobalAdmin.StartTimerService method

NOTE: This API is now obsolete.

Use the Provision method of the SPWindowsServiceInstance class to provision the timer service instead. (In Windows SharePoint Services 2.0 the StartTimerService started the SharePoint Timer service for scheduled background processes in the SharePoint Foundation deployment, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("Call SPWindowsServiceInstance.Provision().", False)> _
Public Sub StartTimerService
'Usage
Dim instance As SPGlobalAdmin

instance.StartTimerService()
[ObsoleteAttribute("Call SPWindowsServiceInstance.Provision().", false)]
public void StartTimerService()

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace