Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Function GetWorkflowAvailableRunCount ( _
web As SPWeb _
) As Integer
'Usage
Dim instance As SPWorkflowManager
Dim web As SPWeb
Dim returnValue As Integer
returnValue = instance.GetWorkflowAvailableRunCount(web)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public int GetWorkflowAvailableRunCount(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebAn SPWeb object.
Return Value
Type: System.Int32
A 32-bit integer that represents the maximum number of instances that can be started simultaneously.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The web parameter is a null reference (Nothing in Visual Basic). |