WorkflowInstanceService.EnumerateInstancesForSite method

Retrieves the site-scope workflow instances for the current site.

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

Syntax

'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Function EnumerateInstancesForSite As WorkflowInstanceCollection
'Usage
Dim instance As WorkflowInstanceService
Dim returnValue As WorkflowInstanceCollection

returnValue = instance.EnumerateInstancesForSite()
[ClientCallableMethodAttribute]
public abstract WorkflowInstanceCollection EnumerateInstancesForSite()

Return value

Type: Microsoft.SharePoint.WorkflowServices.WorkflowInstanceCollection
Returns a 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