WorkflowManager.Delete Method (String, Boolean)

Deletes specified workflow.

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

'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)

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.

Community Additions

ADD
Show: