Compartilhar via


WorkflowInstanceService.CountInstancesWithStatus método

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

Sintaxe

'Declaração
Public Overridable Function CountInstancesWithStatus ( _
    parentSubscription As WorkflowSubscription, _
    status As WorkflowStatus _
) As ClientResult(Of Integer)
'Uso
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
)

Parâmetros

Valor retornado

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

Ver também

Referência

WorkflowInstanceService classe

WorkflowInstanceService membros

Microsoft.SharePoint.Client.WorkflowServices namespace