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