ISession.QueryAssociatedWorkItems 方法 ()

 

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

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

语法

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

返回值

Type: System.Int32[]

工作项关联的工作项 ID。

备注

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

请参阅

ISession 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首