Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestAttachment::AssociateWorkItem Method (WorkItem^)

 

Associates the provided work item with this test result attachment.

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

void AssociateWorkItem(
	WorkItem^ workItem
)

Parameters

workItem
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItem^

A WorkItem object to associate with this attachment.

After calling this method, you must also call the WorkItem::Save method to persist this link on the server.

Return to top
Show: