Share via


ITestCaseResult.QueryAssociatedWorkItems Method

Retrieves an array of IDs from the server for work items that are linked to this test case result.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Function QueryAssociatedWorkItems As Integer()
int[] QueryAssociatedWorkItems()
array<int>^ QueryAssociatedWorkItems()
abstract QueryAssociatedWorkItems : unit -> int[] 
function QueryAssociatedWorkItems() : int[]

Return Value

Type: array<System.Int32[]
An array of IDs for work items.

Remarks

The effects of AssociateWorkItem and DisassociateWorkItem will not be reflected by this method until the work item has been saved to the server.

.NET Framework Security

See Also

Reference

ITestCaseResult Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

AssociateWorkItem

DisassociateWorkItem