Export (0) Print
Expand All

SPWorkflowManager.GetWorkflowAvailableRunCount Method

Obtains the number of workflow instances that can be started simultaneously, without being postponed, at the moment of the call.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public int GetWorkflowAvailableRunCount(
	SPWeb web
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb

An SPWeb object.

Return Value

Type: System.Int32
A 32-bit integer that represents the maximum number of instances that can be started simultaneously.

ExceptionCondition
ArgumentNullException

The web parameter is a null reference (Nothing in Visual Basic).

Show:
© 2014 Microsoft