SPWorkflowAssociation.ParentSite property
Returns the site collection on which the workflow association resides.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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 Windows SharePoint Services
Workflow Development for Windows SharePoint Services
Workflow Object Model in Windows SharePoint Services Overview