WorkflowResourceManager.DeleteActivity Method (String, Boolean)
Deletes a specific activity associated with the manager.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Sub DeleteActivity ( _
activityName As String, _
terminateDependentInstances As Boolean _
)
'Usage
Dim instance As WorkflowResourceManager
Dim activityName As String
Dim terminateDependentInstances As Boolean
instance.DeleteActivity(activityName, _
terminateDependentInstances)
public void DeleteActivity(
string activityName,
bool terminateDependentInstances
)
public:
void DeleteActivity(
String^ activityName,
bool terminateDependentInstances
)
member DeleteActivity :
activityName:string *
terminateDependentInstances:bool -> unit
public function DeleteActivity(
activityName : String,
terminateDependentInstances : boolean
)
Parameters
- activityName
Type: System.String
The name of the activity.
- terminateDependentInstances
Type: System.Boolean
true to terminate the dependent instances; Otherwise, false.