WorkflowManager.Delete Method (String, Boolean)

Deletes specified workflow.

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

Syntax

'Declaration
Public Sub Delete ( _
    workflowName As String, _
    terminateActiveInstances As Boolean _
)
'Usage
Dim instance As WorkflowManager 
Dim workflowName As String 
Dim terminateActiveInstances As Boolean

instance.Delete(workflowName, terminateActiveInstances)
public void Delete(
    string workflowName,
    bool terminateActiveInstances
)
public:
void Delete(
    String^ workflowName, 
    bool terminateActiveInstances
)
member Delete : 
        workflowName:string * 
        terminateActiveInstances:bool -> unit
public function Delete(
    workflowName : String, 
    terminateActiveInstances : boolean
)

Parameters

  • workflowName
    Type: System.String
    Name of the workflow to be deleted.
  • terminateActiveInstances
    Type: System.Boolean
    true if all existing instances of deleted workflows should be terminated; false if existing instances of deleted workflows should continue execution.

See Also

Reference

WorkflowManager Class

Delete Overload

Microsoft.Workflow.Client Namespace