Share via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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