Share via


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)
Available in Sandboxed Solutions: No

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