SPWorkflowAssociationCollection.ParentSite property

Gets the site collection on which the workflow association collection 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 SPWorkflowAssociationCollection
Dim value As SPSite

value = instance.ParentSite
public SPSite ParentSite { get; }

Property value

Type: Microsoft.SharePoint.SPSite
A SPSite object that represents the site collection.

See also

Reference

SPWorkflowAssociationCollection class

SPWorkflowAssociationCollection members

Microsoft.SharePoint.Workflow namespace