SPWorkflowAssociation.ParentSite Property
Returns the site collection 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 ParentSite As SPSite
Get
'Usage
Dim instance As SPWorkflowAssociation
Dim value As SPSite
value = instance.ParentSite
public SPSite ParentSite { get; }
Property Value
Type: Microsoft.SharePoint.SPSite
An SPSite object that represents the site collection.
See Also
Reference
Microsoft.SharePoint.Workflow Namespace
Other Resources
Workflows in SharePoint Foundation