Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the job definition of the running job.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property JobDefinition As SPJobDefinition
Get
'Usage
Dim instance As SPRunningJob
Dim value As SPJobDefinition
value = instance.JobDefinition
public SPJobDefinition JobDefinition { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPJobDefinition
A SPJobDefinition that represents the job definition for the running job.
Remarks
The parent object provides the job definition. It is either a SPWebApplication object or an SPService object if the SPWebApplication object does not exist.