Share via


ISession.QueryAssociatedWorkItems Method ()

 

Retrieves work items associated with this session from the server.

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

Syntax

int[] QueryAssociatedWorkItems()
array<int>^ QueryAssociatedWorkItems()
abstract QueryAssociatedWorkItems : unit -> int[]
Function QueryAssociatedWorkItems As Integer()

Return Value

Type: System.Int32[]

Work item IDs of associated work items.

Remarks

To retrieve the work items, call WorkItemStore.Query(ids, wiql). This method retrieves work items by calling the server. The effects of AssociateWorkItem() and DisassociateWorkItem() will not be observed by this method until you call workItem.Save().

See Also

ISession Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top