Share via


SPWorkflowAssociation.ParentWeb Property

Returns the site on which the workflow association resides.

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 SPWorkflowAssociation
Dim value As SPWeb

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

Property Value

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

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation