SPWorkflowEventProperties.InstanceId property

Gets the GUID of the workflow instance that triggered the event.

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

Syntax

'Declaration
Public ReadOnly Property InstanceId As Guid
    Get
'Usage
Dim instance As SPWorkflowEventProperties
Dim value As Guid

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

Property value

Type: System.Guid
The GUID of the workflow instance that triggered the event.

See also

Reference

SPWorkflowEventProperties class

SPWorkflowEventProperties members

Microsoft.SharePoint.Workflow namespace