ISession.DisassociateWorkItem Method
Removes the association of the given work item from this test result.
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
workItem
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemWork item to disassociate.
Remarks
The work item must be already saved because of being associated with the session. You must also call workItem.Save() after you call this method for the linking change to be persisted to the server.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.