SPWorkflowAssociation.ParentWeb property

Returns the site on which the workflow association resides.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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 Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview