Share via


ITestAttachment.DisassociateWorkItem Method

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)

Syntax

'Declaration
Sub DisassociateWorkItem ( _
    workItem As WorkItem _
)
void DisassociateWorkItem(
    WorkItem workItem
)
void DisassociateWorkItem(
    WorkItem^ workItem
)
abstract DisassociateWorkItem : 
        workItem:WorkItem -> unit 
function DisassociateWorkItem(
    workItem : WorkItem
)

Parameters

Remarks

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.

.NET Framework Security

See Also

Reference

ITestAttachment Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

WorkItem