Share via


ITestCaseResult.QueryAssociatedWorkItemArtifacts Method

Retrieves an array of work item artifacts that is 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 QueryAssociatedWorkItemArtifacts As Artifact()
Artifact[] QueryAssociatedWorkItemArtifacts()
array<Artifact^>^ QueryAssociatedWorkItemArtifacts()
abstract QueryAssociatedWorkItemArtifacts : unit -> Artifact[] 
function QueryAssociatedWorkItemArtifacts() : Artifact[]

Return Value

Type: array<Microsoft.TeamFoundation.Artifact[]
An array of work item artifacts.

Remarks

This method retrieves work items by calling the server. The effects of AssociateWorkItem() and DisassociateWorkItem() will not be observed by this method until you call workItem.Save().

.NET Framework Security

See Also

Reference

ITestCaseResult Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

Artifact