SPWorkflowManager.GetWorkflowAvailableRunCount method
Obtém o número de instâncias de fluxo de trabalho pode ser iniciado ao mesmo tempo, sem ser adiado, no momento da chamada.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Function GetWorkflowAvailableRunCount ( _
web As SPWeb _
) As Integer
'Uso
Dim instance As SPWorkflowManager
Dim web As SPWeb
Dim returnValue As Integer
returnValue = instance.GetWorkflowAvailableRunCount(web)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public int GetWorkflowAvailableRunCount(
SPWeb web
)
Parâmetros
web
Type: Microsoft.SharePoint.SPWebUm objeto SPWeb .
Valor retornado
Type: System.Int32
Um inteiro de 32 bits que representa o número máximo de instâncias que podem ser iniciados simultaneamente.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | O parâmetro web é a null reference (Nothing in Visual Basic). |