WorkflowInstanceService.CountInstancesWithStatus method

Namespace:  Microsoft.SharePoint.Client.WorkflowServices
Assembly:  Microsoft.SharePoint.Client.WorkflowServices (in Microsoft.SharePoint.Client.WorkflowServices.dll)

Syntax

'Declaration
Public Overridable Function CountInstancesWithStatus ( _
    parentSubscription As WorkflowSubscription, _
    status As WorkflowStatus _
) As ClientResult(Of Integer)
'Usage
Dim instance As WorkflowInstanceService
Dim parentSubscription As WorkflowSubscription
Dim status As WorkflowStatus
Dim returnValue As ClientResult(Of Integer)

returnValue = instance.CountInstancesWithStatus(parentSubscription, _
    status)
public virtual ClientResult<int> CountInstancesWithStatus(
    WorkflowSubscription parentSubscription,
    WorkflowStatus status
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Int32>

See also

Reference

WorkflowInstanceService class

WorkflowInstanceService members

Microsoft.SharePoint.Client.WorkflowServices namespace