Share via


SPWorkItemCollection.ParentId property

Gets a globally unique identifier (GUID) for the parent entity.

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

Syntax

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

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

Property value

Type: System.Guid
Returns a GUID for the SPWorkItemCollection parent.

Remarks

ParentId is a user-defined property that is passed by the hosting class—that is, the implementer of ISPWorkItemHost. ParentID is used to provide automatic cleanup processes that require addressing activity to a specific scope. The property is typically associated with the Web or site scope.

This property value appears as a parameter in methods of the following classes:

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

Microsoft.SharePoint namespace