Share via


ITestCaseResult.DisassociateWorkItem Method (WorkItem)

 

Removes the link between the given work item and this test result.

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

Syntax

void DisassociateWorkItem(
    WorkItem workItem
)
void DisassociateWorkItem(
    WorkItem^ workItem
)
abstract DisassociateWorkItem : 
        workItem:WorkItem -> unit
Sub DisassociateWorkItem (
    workItem As WorkItem
)

Parameters

Remarks

The work item must be already saved because it is associated with the test result. You must also call workItem.Save() after you call this method for the linking change to be persisted to the server.

See Also

WorkItem
ITestCaseResult Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top