This documentation is archived and is not being maintained.

SPWorkflowManager.CancelWorkflow Method

Windows SharePoint Services 3

Cancels the specified workflow instance.

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

public static void CancelWorkflow(
	SPWorkflow workflow
)

Parameters

workflow
Type: Microsoft.SharePoint.Workflow.SPWorkflow
The workflow instance you want to cancel.
Show: