Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Server Technologies
SDK Documentation
 CancelWorkflow Method
SPWorkflowManager.CancelWorkflow Method (Microsoft.SharePoint.Workflow)
Cancels the specified workflow instance.

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

Visual Basic (Declaration)
Public Shared Sub CancelWorkflow ( _
    workflow As SPWorkflow _
)
Visual Basic (Usage)
Dim workflow As SPWorkflow

SPWorkflowManager.CancelWorkflow(workflow)
C#
public static void CancelWorkflow (
    SPWorkflow workflow
)

Parameters

workflow

The workflow instance you want to cancel.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker