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)

Syntax

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

Parameters

Remarks

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

See Also

WorkItem
ITestAttachment Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top