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)

Syntax

'Declaration
Public ReadOnly Property WebId As Guid
    Get
'Usage
Dim instance As SPWorkItem
Dim value As Guid

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

Property value

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

Remarks

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

See also

Reference

SPWorkItem class

SPWorkItem members

Microsoft.SharePoint namespace

Microsoft.SharePoint.SPWeb