SPRunningJob.JobDefinitionId property

Gets the ID of the job definition for the running job.

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

Syntax

'Declaration
Public ReadOnly Property JobDefinitionId As Guid
    Get
'Usage
Dim instance As SPRunningJob
Dim value As Guid

value = instance.JobDefinitionId
public Guid JobDefinitionId { get; }

Property value

Type: System.Guid
A Guid that represents the running job.

Remarks

This information is persisted in a table of running jobs for the SharePoint Foundation farm.

See also

Reference

SPRunningJob class

SPRunningJob members

Microsoft.SharePoint.Administration namespace

SPRunningJobCollection

SPRunningJobStatus