WorkflowInstanceManager.GetInstance Method
Retrieves information about a specific workflow instance.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Function GetInstance ( _
workflowName As String, _
instanceName As String _
) As WorkflowInstanceInfo
'Usage
Dim instance As WorkflowInstanceManager
Dim workflowName As String
Dim instanceName As String
Dim returnValue As WorkflowInstanceInfo
returnValue = instance.GetInstance(workflowName, _
instanceName)
public WorkflowInstanceInfo GetInstance(
string workflowName,
string instanceName
)
public:
WorkflowInstanceInfo^ GetInstance(
String^ workflowName,
String^ instanceName
)
member GetInstance :
workflowName:string *
instanceName:string -> WorkflowInstanceInfo
public function GetInstance(
workflowName : String,
instanceName : String
) : WorkflowInstanceInfo
Parameters
- workflowName
Type: System.String
The name of the workflow to which the instance belongs.
- instanceName
Type: System.String
The name of the workflow instance to be retrieved.
Return Value
Type: Microsoft.Workflow.Client.WorkflowInstanceInfo
The workflow instance manager for the retrieved instances.