del método WorkflowInstanceService.CountInstances
Recupera un recuento de todas las instancias de la WorkflowSubscriptionde especificado.
Espacio de nombres: Microsoft.SharePoint.WorkflowServices
Ensamblado: Microsoft.SharePoint.WorkflowServicesBase (en Microsoft.SharePoint.WorkflowServicesBase.dll)
Sintaxis
'Declaración
<ClientCallableMethodAttribute> _
Public MustOverride Function CountInstances ( _
parentSubscription As WorkflowSubscription _
) As Integer
'Uso
Dim instance As WorkflowInstanceService
Dim parentSubscription As WorkflowSubscription
Dim returnValue As Integer
returnValue = instance.CountInstances(parentSubscription)
[ClientCallableMethodAttribute]
public abstract int CountInstances(
WorkflowSubscription parentSubscription
)
Parámetros
parentSubscription
Tipo: Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionLa suscripción de primario de las instancias para contar.
Valor devuelto
Tipo: System.Int32
Devuelve un entero que representa el número de la suscripción especificada.