ActivityManager.Delete Method (String, Boolean)

Deletes the specific workflow activity and optionally terminate dependent workflow instances.

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

'Declaration
Public Sub Delete ( _
	activityName As String, _
	terminateDependentInstances As Boolean _
)
'Usage
Dim instance As ActivityManager 
Dim activityName As String 
Dim terminateDependentInstances As Boolean

instance.Delete(activityName, terminateDependentInstances)

Parameters

activityName
Type: System.String
Name of the activiity to be deleted.
terminateDependentInstances
Type: System.Boolean
true if all existing instances of any workflow that used a deleted activity should be terminated; false if existing instances of the affected workflows should continue execution.

Community Additions

ADD
Show: