Share via


SPWorkflowTask.WorkflowId Property

Gets the ID of the workflow to which this task belongs.

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 WorkflowId As Guid
    Get
'Usage
Dim instance As SPWorkflowTask
Dim value As Guid

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

Property Value

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

See Also

Reference

SPWorkflowTask Class

SPWorkflowTask Members

Microsoft.SharePoint.Workflow Namespace