SPWorkflow.InstanceId Property

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

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

Property Value

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

See Also

Reference

SPWorkflow Class

SPWorkflow Members

Microsoft.SharePoint.Workflow Namespace