Share via


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

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