SPWorkItem.ParentId property

A globally unique identifier (GUID) that specifies a user-defined parent, or ancester, object appropriate to scope the data object that is correlated with the work item.

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

Syntax

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

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

Property value

Type: System.Guid
Returns a GUID specifying a parent object.

Remarks

The actual parent object type depends on the SPWorkItem object type. For example, the parent for a list item might be a Web site, its value a GUID specifying a WebID. Use this property for scoping purposes.

See also

Reference

SPWorkItem class

SPWorkItem members

Microsoft.SharePoint namespace