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

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