SPWorkflow.InstanceId property

Gets the ID of this workflow instance.

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

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