SPWorkflowManager.CountWorkflows Method

Include Protected Members
Include Inherited Members

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 SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation