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

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