Share via


SPUserCodeWorkflowContext.WorkflowInstanceId property

Gets or sets the GUID of the current workflow instance.

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

Syntax

'Declaration
Public Property WorkflowInstanceId As Guid
    Get
    Set
'Usage
Dim instance As SPUserCodeWorkflowContext
Dim value As Guid

value = instance.WorkflowInstanceId

instance.WorkflowInstanceId = value
public Guid WorkflowInstanceId { get; set; }

Property value

Type: System.Guid
The GUID of the current workflow instance.

See also

Reference

SPUserCodeWorkflowContext class

SPUserCodeWorkflowContext members

Microsoft.SharePoint.UserCode namespace