Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Sub AssociateWorkItem ( _
workItem As WorkItem _
)
void AssociateWorkItem(
WorkItem workItem
)
void AssociateWorkItem(
WorkItem^ workItem
)
abstract AssociateWorkItem :
workItem:WorkItem -> unit
function AssociateWorkItem(
workItem : WorkItem
)
Parameters
workItem
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemA WorkItem object to associate with this attachment.
Remarks
After calling this method, you must also call the WorkItem.Save method to persist this link on 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.