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

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