SPWorkItem.WebId property

Gets a globally unique identifier (GUID) that identifies a Web site that is associated with an SPWorkItem object. This is an optional property, used for working with SPWeb objects

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

public Guid WebId { get; }

Property value

Type: System.Guid
Returns a GUID that identifies a Web site associated with the work item.

Use this property for index comparative purposes when performing clean-up duties that are at the scope of the Web site.