WorkflowInstanceService.EnumerateInstancesForSite method (Int32)

Gets the site workflow instances for the current site, starting from the specified offset.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
<ClientCallableMethodAttribute(Name := "EnumerateInstancesForSiteWithOffset")> _
Public MustOverride Function EnumerateInstancesForSite ( _
    offset As Integer _
) As WorkflowInstanceCollection
'Usage
Dim instance As WorkflowInstanceService
Dim offset As Integer
Dim returnValue As WorkflowInstanceCollection

returnValue = instance.EnumerateInstancesForSite(offset)
[ClientCallableMethodAttribute(Name = "EnumerateInstancesForSiteWithOffset")]
public abstract WorkflowInstanceCollection EnumerateInstancesForSite(
    int offset
)

Parameters

  • offset
    Type: System.Int32

    The number of instances to skip before returning the next 100 instances.

Return value

Type: Microsoft.SharePoint.WorkflowServices.WorkflowInstanceCollection
The workflow instance collection containing the site workflow instances for the current site.

See also

Reference

WorkflowInstanceService class

WorkflowInstanceService members

EnumerateInstancesForSite overload

Microsoft.SharePoint.WorkflowServices namespace