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
- parentSubscription
Type: Microsoft.SharePoint.Client.WorkflowServices.WorkflowSubscription
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Int32>