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::DisassociateWorkItem Method (WorkItem^)

 

Removes an existing association between the provided work item and this attachment.

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

void DisassociateWorkItem(
	WorkItem^ workItem
)

Parameters

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

A WorkItem object to dissociate from this attachment.

The work item that has the association must have already been saved to the server. After you call this method, you must also call the WorkItem::Save method to this link from the server.

Return to top
Show: