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

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