SPWorkflowActivationProperties.WorkflowId Property

Gets ID of the workflow instance.

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 WorkflowId As Guid
    Get
'Usage
Dim instance As SPWorkflowActivationProperties
Dim value As Guid

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

Property Value

Type: System.Guid
A Guid that represents the workflow ID.

See Also

Reference

SPWorkflowActivationProperties Class

SPWorkflowActivationProperties Members

Microsoft.SharePoint.Workflow Namespace