ITestCaseResult.QueryAssociatedWorkItemArtifacts 方法 ()

 

发布时间: 2016年4月

检索工作项项目链接到此测试用例结果的一个的数组。

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

语法

Artifact[] QueryAssociatedWorkItemArtifacts()
array<Artifact^>^ QueryAssociatedWorkItemArtifacts()
abstract QueryAssociatedWorkItemArtifacts : unit -> Artifact[]
Function QueryAssociatedWorkItemArtifacts As Artifact()

返回值

Type: Microsoft.TeamFoundation.Artifact[]

一个工作项项目的数组。

备注

此方法通过调用服务器中检索工作项。 直到您调用 workItem.Save(),AssociateWorkItem() 和 DisassociateWorkItem() 的效果将不会按时通过此方法。

请参阅

Artifact
ITestCaseResult 接口
Microsoft.TeamFoundation.TestManagement.Client 命名空间

返回页首