SPWorkflow.ParentAssociation property

Gets the workflow association on which the workflow instance is based.

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

Syntax

'Declaration
Public ReadOnly Property ParentAssociation As SPWorkflowAssociation
    Get
'Usage
Dim instance As SPWorkflow
Dim value As SPWorkflowAssociation

value = instance.ParentAssociation
public SPWorkflowAssociation ParentAssociation { get; }

Property value

Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
An SPWorkflowAssociation object that represents the parent workflow association.

See also

Reference

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