SPWorkflowActivationProperties.SiteId Property

Gets the ID of 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 SiteId As Guid
    Get
'Usage
Dim instance As SPWorkflowActivationProperties
Dim value As Guid

value = instance.SiteId
public Guid SiteId { get; }

Property Value

Type: System.Guid
A Guid that represents the site collection ID.

See Also

Reference

SPWorkflowActivationProperties Class

SPWorkflowActivationProperties Members

Microsoft.SharePoint.Workflow Namespace