SPJobDefinition class
SharePoint 2013
Represents a job definition.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPJobDefinition
Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition
Microsoft.SharePoint.Administration.SPPausableJobDefinition
Microsoft.SharePoint.Administration.SPProductVersionJobDefinition
Microsoft.SharePoint.Administration.SPUsageImportJobDefinition
Microsoft.SharePoint.Administration.SPUsageProcessingJobDefinition
Microsoft.SharePoint.Diagnostics.SPDiagnosticsProviderJobDefinition
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPJobDefinition
Microsoft.SharePoint.Administration.SPAdministrationServiceJobDefinition
Microsoft.SharePoint.Administration.SPPausableJobDefinition
Microsoft.SharePoint.Administration.SPProductVersionJobDefinition
Microsoft.SharePoint.Administration.SPUsageImportJobDefinition
Microsoft.SharePoint.Administration.SPUsageProcessingJobDefinition
Microsoft.SharePoint.Diagnostics.SPDiagnosticsProviderJobDefinition
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Job definitions must be associated with a service or Web application. Use the Service or WebApplication properties to return the SPService or SPWebApplication object with which this job definition is associated.
A job definition can also be associated with a specific server. Use the Server property to return the SPServer object with which this job definition is associated.
Use the JobDefinitions property of the SPService or SPWebApplication object to get the collection of job definitions for the given object.