WorkflowInstanceService.Enumerate - Méthode (WorkflowSubscription, Int32)

Obtient une collection d'instance de workflow comprenant 100 instances de flux de travail commençant à l'offset spécifié.

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

Syntaxe

'Déclaration
<ClientCallableMethodAttribute(Name := "EnumerateWithOffset")> _
Public MustOverride Function Enumerate ( _
    parentSubscription As WorkflowSubscription, _
    offset As Integer _
) As WorkflowInstanceCollection
'Utilisation
Dim instance As WorkflowInstanceService
Dim parentSubscription As WorkflowSubscription
Dim offset As Integer
Dim returnValue As WorkflowInstanceCollection

returnValue = instance.Enumerate(parentSubscription, _
    offset)
[ClientCallableMethodAttribute(Name = "EnumerateWithOffset")]
public abstract WorkflowInstanceCollection Enumerate(
    WorkflowSubscription parentSubscription,
    int offset
)

Paramètres

  • offset
    Type : System.Int32

    Le nombre d'instances à ignorer avant de retourner les 100 instances de workflow.

Valeur renvoyée

Type : Microsoft.SharePoint.WorkflowServices.WorkflowInstanceCollection
Retourne le spécifié WorkflowInstanceCollection.

Voir aussi

Référence

WorkflowInstanceService classe

WorkflowInstanceService - Membres

Enumerate - Surcharge

Microsoft.SharePoint.WorkflowServices - Espace de noms