Share via


SPDiagnosticsService.CreateTimerJob method

Creates a timer job to update the service configuration, based on the configuration that is stored in the content database.

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

Syntax

'Declaration
Public Sub CreateTimerJob
'Usage
Dim instance As SPDiagnosticsService

instance.CreateTimerJob()
public void CreateTimerJob()

Remarks

In most circumstances, you should call the Update() method rather than this method. Use the CreateTimeJob method only if you suspect that the service configuration stored in the local registry is not current and you want to update it to match the configuration that is stored in the content database.

See also

Reference

SPDiagnosticsService class

SPDiagnosticsService members

Microsoft.SharePoint.Administration namespace

Update()