SPWorkflowManager.CountWorkflows method

Returns the number and IDs of workflow instances.

Overload list

  Name Description
Public method CountWorkflows(SPContentType) Returns the IDs of the workflow associations and the count of instances for each association.
Public method CountWorkflows(SPList) Returns the identifiers of the workflow associations on the list and the count of instances for each association.
Public method CountWorkflows(SPWeb) Returns the identifiers of the associations on this SPWeb and the number of running instances per association.
Public method CountWorkflows(SPWorkflowAssociation) Returns the number of workflow instances for the specified workflow association.
Public method CountWorkflows(SPWorkflowTemplate, SPSite) Returns the number of workflow instances for the specified workflow template, on the specified site collection.

Top

See also

Reference

SPWorkflowManager class

SPWorkflowManager members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview