Condividi tramite


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

Elimina i flussi di lavoro associati al gestore specificati e termina le istanze attive utilizzando un filtro di metadati.

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

Sintassi

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

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

Parametri

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

Valore restituito

Tipo: System.Int32
Flussi di lavoro eliminati.

Vedere anche

Riferimento

WorkflowResourceManager Classe

Overload DeleteWorkflows

Spazio dei nomi Microsoft.Workflow.Client