Share via


SPWorkItem.SiteId property

A globally unique identifier (GUID) specifying a Web site associated with an SPWorkItem object. This is an optional property, used for working with SPSite objects

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

Syntax

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

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

Property value

Type: System.Guid
Returns a GUID that specifies a related site.

Remarks

Use this property for comparing index values when performing clean-up duties that are at the scope of the site.

See also

Reference

SPWorkItem class

SPWorkItem members

Microsoft.SharePoint namespace

Microsoft.SharePoint.SPSite