This method returns the total number of Content Items that are associated with any State of a workflow (even the Published state)

Namespace: DotNetNuke.Entities.Content.Workflow
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
int GetWorkflowUsageCount(
	int workflowId
)
Visual Basic
Function GetWorkflowUsageCount ( 
	workflowId As Integer
) As Integer

Parameters

workflowId
Type: System..::..Int32
Workflow Id

Return Value

Total count of Content Items that are using the specified workflow

See Also