Edit

Share via


SqlTrackingQuery.TryGetWorkflow(Guid, SqlTrackingWorkflowInstance) Method

Definition

Tries to get query data for a specified workflow instance.

public:
 bool TryGetWorkflow(Guid workflowInstanceId, [Runtime::InteropServices::Out] System::Workflow::Runtime::Tracking::SqlTrackingWorkflowInstance ^ % workflowInstance);
public bool TryGetWorkflow(Guid workflowInstanceId, out System.Workflow.Runtime.Tracking.SqlTrackingWorkflowInstance workflowInstance);
member this.TryGetWorkflow : Guid * SqlTrackingWorkflowInstance -> bool
Public Function TryGetWorkflow (workflowInstanceId As Guid, ByRef workflowInstance As SqlTrackingWorkflowInstance) As Boolean

Parameters

workflowInstanceId
Guid

The Guid of the workflow instance for which the tracking data is requested.

workflowInstance
SqlTrackingWorkflowInstance

When this method returns true, contains a SqlTrackingWorkflowInstance that provides access to the tracking data associated with the workflow instance. This parameter is passed uninitiailized.

Returns

true if tracking data is available for the requested workflow instance; otherwise, false.

Exceptions

ConnectionString is a null reference (Nothing in Visual Basic).

Applies to