SPJobDefinition.Service property

Gets the service for this job definition.

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

Syntax

public SPService Service { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPService
An SPService object.

See also

Reference

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace