WorkflowInstanceManager.GetInstanceCount Method (String)
Retrieves the number of workflow instances with the specified workflow name.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Function GetInstanceCount ( _
workflowName As String _
) As Integer
'Usage
Dim instance As WorkflowInstanceManager
Dim workflowName As String
Dim returnValue As Integer
returnValue = instance.GetInstanceCount(workflowName)
public int GetInstanceCount(
string workflowName
)
public:
int GetInstanceCount(
String^ workflowName
)
member GetInstanceCount :
workflowName:string -> int
public function GetInstanceCount(
workflowName : String
) : int
Parameters
- workflowName
Type: System.String
The name of the workflow to which the instances belongs.
Return Value
Type: System.Int32
The instance count with the specified workflow name.