SPWorkflowActivationProperties.Site property

Gets the site collection on which the workflow instance is located.

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

Syntax

'Declaration
Public ReadOnly Property Site As SPSite
    Get
'Usage
Dim instance As SPWorkflowActivationProperties
Dim value As SPSite

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

Property value

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

See also

Reference

SPWorkflowActivationProperties class

SPWorkflowActivationProperties members

Microsoft.SharePoint.Workflow namespace