WorkflowInstanceService.CountInstances - Méthode

Récupère un nombre de toutes les instances de la WorkflowSubscriptionde spécifié.

Espace de noms :  Microsoft.SharePoint.WorkflowServices
Assembly :  Microsoft.SharePoint.WorkflowServicesBase (dans Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntaxe

'Déclaration
<ClientCallableMethodAttribute> _
Public MustOverride Function CountInstances ( _
    parentSubscription As WorkflowSubscription _
) As Integer
'Utilisation
Dim instance As WorkflowInstanceService
Dim parentSubscription As WorkflowSubscription
Dim returnValue As Integer

returnValue = instance.CountInstances(parentSubscription)
[ClientCallableMethodAttribute]
public abstract int CountInstances(
    WorkflowSubscription parentSubscription
)

Paramètres

Valeur renvoyée

Type : System.Int32
Renvoie un entier représentant le nombre de l'abonnement spécifié.

Voir aussi

Référence

WorkflowInstanceService classe

WorkflowInstanceService - Membres

Microsoft.SharePoint.WorkflowServices - Espace de noms