Share via


SPWorkItemCollection.ParentWeb Property

Gets an SPWeb object representing the parent of objects in the SPWorkItemCollection collection, in cases in which the parent is scoped to the level of the Web.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property ParentWeb As SPWeb
    Get
'Usage
Dim instance As SPWorkItemCollection
Dim value As SPWeb

value = instance.ParentWeb
public SPWeb ParentWeb { get; }

Property Value

Type: Microsoft.SharePoint.SPWeb
Returns an SPWeb object that is the parent of the work item collection.

See Also

Reference

SPWorkItemCollection Class

SPWorkItemCollection Members

Microsoft.SharePoint Namespace

Microsoft.SharePoint.SPWeb