Share via


SPWorkflowManager.CountWorkflows - Méthode (SPWorkflowAssociation)

Renvoie le nombre d'instances de flux de travail pour l'association de flux de travail spécifié.

Espace de noms :  Microsoft.SharePoint.Workflow
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Function CountWorkflows ( _
    association As SPWorkflowAssociation _
) As Integer
'Utilisation
Dim instance As SPWorkflowManager
Dim association As SPWorkflowAssociation
Dim returnValue As Integer

returnValue = instance.CountWorkflows(association)
public int CountWorkflows(
    SPWorkflowAssociation association
)

Paramètres

Valeur renvoyée

Type : System.Int32
Entier 32 bits qui représente le nombre d'associations de flux de travail.

Remarques

Cette méthode obtient le nombre de flux de travail associés à l'association de flux de travail spécifiée par le paramètre association .

Voir aussi

Référence

SPWorkflowManager classe

SPWorkflowManager - Membres

CountWorkflows - Surcharge

Microsoft.SharePoint.Workflow - Espace de noms

Autres ressources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview