Share via


WorkflowInstanceService.CountInstances method

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

Syntax

'Declaration
Public Overridable Function CountInstances ( _
    parentSubscription As WorkflowSubscription _
) As ClientResult(Of Integer)
'Usage
Dim instance As WorkflowInstanceService
Dim parentSubscription As WorkflowSubscription
Dim returnValue As ClientResult(Of Integer)

returnValue = instance.CountInstances(parentSubscription)
public virtual ClientResult<int> CountInstances(
    WorkflowSubscription parentSubscription
)

Parameters

Return value

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

See also

Reference

WorkflowInstanceService class

WorkflowInstanceService members

Microsoft.SharePoint.Client.WorkflowServices namespace