This documentation is archived and is not being maintained.

SPWorkflowManager.RemoveWorkflowFromListItem Method

Windows SharePoint Services 3

Removes the specified workflow instance from the list item to which it was attached.

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

public void RemoveWorkflowFromListItem(
	SPWorkflow workflow
)

Parameters

workflow
Type: Microsoft.SharePoint.Workflow.SPWorkflow
The workflow instance to remove.

Removing a workflow instance deletes it entirely. The workflow instance does not remain as a canceled workflow.

Show: