Share via


SPRunningJob.WebApplicationId property

Gets the web application ID of the running job.

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

Syntax

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

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

Property value

Type: System.Guid
A Guid that represents the Web application.

Remarks

The Guid is associated with the web application at the farm level, rather than at the level of the server that is running the job.

See also

Reference

SPRunningJob class

SPRunningJob members

Microsoft.SharePoint.Administration namespace

ServiceId