Return Type: CSOM Int32

Returns a count of the workflow instances of the specified WorkflowSubscription (section with the specified status.


parentSubscription: The parent workflow subscription of the instances to count.

Type: Microsoft.SharePoint.Client.WorkflowServices.WorkflowSubscription

status: Only instances with this status (section value are counted. If the value is WorkflowStatus.NotSpecified (section, instances in all statuses are counted.

Type: Microsoft.SharePoint.Client.WorkflowServices.WorkflowStatus