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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation