Condividi tramite


Metodo WorkflowResourceManager.DeleteActivities (IDictionary<String, String>, Boolean)

Elimina le attività associate al gestore e termina le istanze dipendenti utilizzando un filtro di metadati.

Spazio dei nomi  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Sintassi

'Dichiarazione
Public Function DeleteActivities ( _
    metadataFilter As IDictionary(Of String, String), _
    terminateDependentInstances As Boolean _
) As Integer
'Utilizzo
Dim instance As WorkflowResourceManager 
Dim metadataFilter As IDictionary(Of String, String)
Dim terminateDependentInstances As Boolean 
Dim returnValue As Integer 

returnValue = instance.DeleteActivities(metadataFilter, _
    terminateDependentInstances)
public int DeleteActivities(
    IDictionary<string, string> metadataFilter,
    bool terminateDependentInstances
)
public:
int DeleteActivities(
    IDictionary<String^, String^>^ metadataFilter, 
    bool terminateDependentInstances
)
member DeleteActivities : 
        metadataFilter:IDictionary<string, string> * 
        terminateDependentInstances:bool -> int
public function DeleteActivities(
    metadataFilter : IDictionary<String, String>, 
    terminateDependentInstances : boolean
) : int

Parametri

  • terminateDependentInstances
    Tipo: System.Boolean
    true per terminare le istanze dipendenti. In caso contrario, false.

Valore restituito

Tipo: System.Int32
Attività eliminate.

Vedere anche

Riferimento

WorkflowResourceManager Classe

Overload DeleteActivities

Spazio dei nomi Microsoft.Workflow.Client