Share via


SPWorkflow.ParentWeb Property

Gets the SharePoint site on which this workflow instance was created.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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

Property Value

Type: Microsoft.SharePoint.SPWeb
An SPSite object that represents the site.

See Also

Reference

SPWorkflow Class

SPWorkflow Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation