ISession.QueryAssociatedWorkItems 方法

从服务器检索工作项与此会话。

命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

语法

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

返回值

类型:array<Int32[]
工作项关联的工作项 ID。

备注

调用检索的工作项,WorkItemStore.Query (ID,wiql)。 此方法通过调用服务器检索工作项。 AssociateWorkItem() 和 DisassociateWorkItem() 效果此方法不会遵循,直到调用 workItem.Save()。

.NET Framework 安全性

请参阅

参考

ISession 接口

Microsoft.TeamFoundation.TestManagement.Client 命名空间