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)


Public ReadOnly Property ParentWeb As SPWeb
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


SPWorkflow class

SPWorkflow members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview