SPWorkflowManager.CountWorkflows - Méthode (SPContentType)
Renvoie les ID des associations de flux de travail et le nombre d'instances de chaque association.
Espace de noms : Microsoft.SharePoint.Workflow
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Function CountWorkflows ( _
ct As SPContentType _
) As Dictionary(Of Guid, Integer)
'Utilisation
Dim instance As SPWorkflowManager
Dim ct As SPContentType
Dim returnValue As Dictionary(Of Guid, Integer)
returnValue = instance.CountWorkflows(ct)
public Dictionary<Guid, int> CountWorkflows(
SPContentType ct
)
Paramètres
ct
Type : Microsoft.SharePoint.SPContentTypeLe type de contenu.
Valeur renvoyée
Type : System.Collections.Generic.Dictionary<Guid, Int32>
Un objet Dictionary qui représente l'ID des associations de flux de travail et le nombre d'instances de chaque association.
Remarques
Cette méthode obtient les flux de travail associé au type de contenu spécifié par le paramètre ct .
Voir aussi
Référence
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