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
'Declaration
Function QueryAssociatedWorkItems As Integer()
int[] QueryAssociatedWorkItems()
array<int>^ QueryAssociatedWorkItems()
abstract QueryAssociatedWorkItems : unit -> int[]
function QueryAssociatedWorkItems() : int[]
Return Value
Type: array<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().
.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.